Skip to content
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

[5.3] Add fluent interface for the dimensions rule #15852

Merged

Conversation

sileence
Copy link
Contributor

Similar to unique and exists new object based rules, I added this one for dimensions:

Rule::dimensions()->minWidth(100)->minHeight(100)->ratio(3/2)

@sileence sileence changed the title Add fluent interface for the dimensions rule [5.3] [proposal] Add fluent interface for the dimensions rule Oct 10, 2016
@sileence sileence force-pushed the feature/5.3/dimensions-rule-object branch from 912bba3 to d6c14bb Compare October 10, 2016 21:45
@sileence sileence force-pushed the feature/5.3/dimensions-rule-object branch from d6c14bb to 1526178 Compare October 10, 2016 21:45
@GrahamCampbell GrahamCampbell changed the title [5.3] [proposal] Add fluent interface for the dimensions rule [5.3] Add fluent interface for the dimensions rule Oct 12, 2016
@taylorotwell taylorotwell merged commit 1526178 into laravel:5.3 Oct 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants