1 | <?php |
||
10 | final class OutdatedPackage |
||
11 | { |
||
12 | /** |
||
13 | * @var PackageInterface |
||
14 | */ |
||
15 | private $actual; |
||
16 | |||
17 | /** |
||
18 | * @var PackageInterface |
||
19 | */ |
||
20 | private $last; |
||
21 | |||
22 | /** |
||
23 | * @var PackageInterface[] |
||
24 | */ |
||
25 | private $depends = array(); |
||
26 | |||
27 | /** |
||
28 | * @param PackageInterface $actual |
||
29 | * @param PackageInterface $last |
||
30 | * @param PackageInterface[] $depends |
||
31 | */ |
||
32 | public function __construct(PackageInterface $actual, PackageInterface $last, array $depends = null) |
||
40 | |||
41 | /** |
||
42 | * @return PackageInterface |
||
43 | */ |
||
44 | public function getActual() |
||
48 | |||
49 | /** |
||
50 | * @return PackageInterface |
||
51 | */ |
||
52 | public function getLast() |
||
56 | |||
57 | /** |
||
58 | * @return PackageInterface[] |
||
59 | */ |
||
60 | public function getDepends() |
||
64 | } |
||
65 |