1 | <?php |
||
7 | class LocatorConstraint extends \PHPUnit\Framework\Constraint\Constraint |
||
8 | { |
||
9 | protected $_type; |
||
10 | protected $_selector; |
||
11 | protected $_filters; |
||
12 | |||
13 | 6 | public function __construct($type, $selector, array $filters = []) |
|
19 | |||
20 | 6 | protected function matches($other) |
|
30 | |||
31 | 1 | public function failureDescription($other) |
|
49 | |||
50 | /** |
||
51 | * Returns a string representation of the constraint. |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | 1 | public function toString() |
|
59 | } |
||
60 |