1 | <?php |
||
8 | abstract class Cache implements CacheInterface |
||
9 | { |
||
10 | use TransportAwareTrait; |
||
11 | |||
12 | /** |
||
13 | * @var int |
||
14 | */ |
||
15 | protected $repository_id; |
||
16 | |||
17 | /** |
||
18 | * @var int |
||
19 | */ |
||
20 | protected $size; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $slug; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $branch; |
||
31 | |||
32 | /** |
||
33 | * @var DateTimeInterface |
||
34 | */ |
||
35 | protected $last_modified; |
||
36 | |||
37 | /** |
||
38 | * @return int |
||
39 | */ |
||
40 | public function repositoryId() : int |
||
44 | |||
45 | /** |
||
46 | * @return int |
||
47 | */ |
||
48 | public function size() : int |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function slug() : string |
||
60 | |||
61 | /** |
||
62 | * @return string |
||
63 | */ |
||
64 | public function branch() : string |
||
68 | |||
69 | /** |
||
70 | * @return DateTimeInterface |
||
71 | */ |
||
72 | public function lastModified() : DateTimeInterface |
||
76 | } |
||
77 |