Dimensions

Dimensions

class Dimensions (View source)

Methods

void __construct(array $constraints = array())

Create a new dimensions rule instance.

$this width(int $value)

Set the "width" constraint.

$this height(int $value)

Set the "height" constraint.

$this minWidth(int $value)

Set the "min width" constraint.

$this minHeight(int $value)

Set the "min height" constraint.

$this maxWidth(int $value)

Set the "max width" constraint.

$this maxHeight(int $value)

Set the "max height" constraint.

$this ratio(float $value)

Set the "ratio" constraint.

string __toString()

Convert the rule to a validation string.

doc_Laravel
2016-11-02 16:16:13
Comments
Leave a Comment

Please login to continue.