1 | <?php |
||
19 | class DataTypeStatementFilter implements StatementFilter { |
||
20 | |||
21 | /** |
||
22 | * @since 3.3 |
||
23 | */ |
||
24 | public const FILTER_TYPE = 'dataType'; |
||
25 | |||
26 | /** |
||
27 | * @var PropertyDataTypeLookup |
||
28 | */ |
||
29 | private $dataTypeLookup; |
||
30 | |||
31 | /** |
||
32 | 10 | * @var string[] |
|
33 | 10 | */ |
|
34 | 10 | private $dataTypes; |
|
35 | 10 | ||
36 | /** |
||
37 | * @param PropertyDataTypeLookup $dataTypeLookup |
||
38 | * @param string[]|string $dataTypes One or more property data type identifiers. |
||
39 | */ |
||
40 | public function __construct( PropertyDataTypeLookup $dataTypeLookup, $dataTypes ) { |
||
44 | 10 | ||
45 | 10 | /** |
|
46 | * @see StatementFilter::statementMatches |
||
47 | * |
||
48 | 10 | * @param Statement $statement |
|
49 | 10 | * |
|
50 | 1 | * @return bool |
|
51 | */ |
||
52 | public function statementMatches( Statement $statement ) { |
||
63 | |||
64 | } |
||
65 |