| 1 | <?php |
||
| 20 | class Assert extends Constraints |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | protected static $namespaces = array(); |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | const DEFAULT_GROUP = 'Default'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Create a constraints instance. |
||
| 34 | * |
||
| 35 | * @return Constraints |
||
| 36 | */ |
||
| 37 | public static function create() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $namespace |
||
| 44 | * @param bool $prepend |
||
| 45 | */ |
||
| 46 | public static function registerValidator($namespace, $prepend = false) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param string $ruleName |
||
| 55 | * @param array $arguments |
||
| 56 | * |
||
| 57 | * @return Validator |
||
| 58 | */ |
||
| 59 | public static function __callStatic($ruleName, $arguments) |
||
| 67 | } |
||
| 68 |