| 1 | <?php |
||
| 8 | class PropertyMatcher implements Matcher |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $class; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $property; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $class Class name |
||
| 22 | * @param string $property Property name |
||
| 23 | */ |
||
| 24 | public function __construct($class, $property) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function matches($object, $property) |
||
| 37 | } |
||
| 38 |