| 1 | <?php |
||
| 16 | class PropertyPredicateFactory { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $name; |
||
| 21 | |||
| 22 | 30 | public function __construct($name) { |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Is true when the property matches the given regex. |
||
| 29 | * |
||
| 30 | * @param string $regex |
||
| 31 | * @return Predicate |
||
| 32 | */ |
||
| 33 | 30 | public function _matches($regex) { |
|
| 36 | } |
||
| 37 |