1 | <?php |
||
9 | class ClassMatcher extends TagMatcher { |
||
10 | |||
11 | /** |
||
12 | * @var Matcher |
||
13 | */ |
||
14 | private $classMatcher; |
||
15 | |||
16 | /** |
||
17 | * @param Matcher|string $class |
||
18 | * |
||
19 | * @return self |
||
20 | */ |
||
21 | public static function withClass( $class ) { |
||
24 | |||
25 | public function __construct( Matcher $class ) { |
||
29 | |||
30 | 1 | public function describeTo( Description $description ) { |
|
33 | |||
34 | /** |
||
35 | * @param \DOMElement $item |
||
36 | * @param Description $mismatchDescription |
||
37 | * |
||
38 | * @return bool |
||
39 | */ |
||
40 | 5 | protected function matchesSafelyWithDiagnosticDescription( $item, Description $mismatchDescription ) { |
|
52 | |||
53 | } |
||
54 |