We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/** * @property string $foo {validate Nette\Utils\Validators::isEmail} * @property string $hexadecimal {validate ctype_xdigit} */ class Foo extends Orm\Entity
/** * @property string $foo {validate self::validateFoo} */ class Foo extends Orm\Entity { protected function validateFoo($value) { return preg_match('#^a#', $value); } }
/** * @property string $name {validate !empty} */ class Foo extends Orm\Entity
/** * @property string $filePath {validate is_file} {validate is_readable} {validate is_writable} */ class Foo extends Orm\Entity
/** * @property int $number {validate > 0} * @property int $percent {validate >= 0} {validate <= 0} * @property string $name {validate !== ''} */ class Foo extends Orm\Entity
The text was updated successfully, but these errors were encountered:
PetrP
No branches or pull requests
The text was updated successfully, but these errors were encountered: