Skip to content

[2.x] Add Custom Casts Classifier from Laravel 7.0 #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stefanzweifel opened this issue Feb 27, 2020 · 0 comments
Closed

[2.x] Add Custom Casts Classifier from Laravel 7.0 #168

stefanzweifel opened this issue Feb 27, 2020 · 0 comments

Comments

@stefanzweifel
Copy link
Owner

Laravel 7.0 will ship with several new features. One of them are Custom Casts.

I see them as new core component, so it makes sense to update stats to recognise them as such.

Custom Casts are easily recognisable, as they implement the Illuminate\Contracts\Database\Eloquent\CastsAttributes or Illuminate\Contracts\Database\Eloquent\CastsInboundAttributes interfaces.

A new classifier should look very similar to the existing RuleClassifier.

I'm happy to accept a well tested PR for this.

@stefanzweifel stefanzweifel changed the title [2.1] Add Custom Casts Classifier from Laravel 7.0 [2.x] Add Custom Casts Classifier from Laravel 7.0 Mar 3, 2020
@stefanzweifel stefanzweifel self-assigned this Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant