1 | <?php |
||
17 | class ModifiedSince implements FilterInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var \DateTime |
||
21 | */ |
||
22 | protected $date; |
||
23 | |||
24 | /** |
||
25 | * ModifiedSince constructor. |
||
26 | * @param \DateTime $date |
||
27 | */ |
||
28 | 3 | public function __construct(\DateTime $date) |
|
32 | |||
33 | |||
34 | /** |
||
35 | * @param ItemInterface $item |
||
36 | * @return bool |
||
37 | */ |
||
38 | 3 | public function isValid(ItemInterface $item) |
|
46 | } |
||
47 |