1 | <?php |
||
22 | class ItemBatch |
||
23 | { |
||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $itemKey; |
||
28 | |||
29 | /** |
||
30 | * @var \DateTime |
||
31 | */ |
||
32 | protected $itemDate; |
||
33 | |||
34 | /** |
||
35 | * ItemBatch constructor. |
||
36 | * @param $itemKey |
||
37 | * @param \DateTime $itemDate |
||
38 | * @throws \phpFastCache\Exceptions\phpFastCacheInvalidArgumentException |
||
39 | */ |
||
40 | public function __construct($itemKey, \DateTime $itemDate) |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getItemKey() |
||
57 | |||
58 | /** |
||
59 | * @return \DateTime |
||
60 | */ |
||
61 | public function getItemDate() |
||
65 | } |