1 | <?php declare(strict_types=1); |
||
12 | abstract class Cache extends AbstractResource implements CacheInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | protected $repository_id; |
||
18 | |||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | protected $size; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $slug; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $branch; |
||
33 | |||
34 | /** |
||
35 | * @var DateTimeInterface |
||
36 | */ |
||
37 | protected $last_modified; |
||
38 | |||
39 | /** |
||
40 | * @return int |
||
41 | */ |
||
42 | 4 | public function repositoryId(): int |
|
46 | |||
47 | /** |
||
48 | * @return int |
||
49 | */ |
||
50 | 4 | public function size(): int |
|
54 | |||
55 | /** |
||
56 | * @return string |
||
57 | */ |
||
58 | 4 | public function slug(): string |
|
62 | |||
63 | /** |
||
64 | * @return string |
||
65 | */ |
||
66 | 4 | public function branch(): string |
|
70 | |||
71 | /** |
||
72 | * @return DateTimeInterface |
||
73 | */ |
||
74 | public function lastModified(): DateTimeInterface |
||
78 | } |
||
79 |