1 | <?php |
||
15 | class Update implements ActionInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var CacheProvider |
||
19 | */ |
||
20 | protected $cache; |
||
21 | |||
22 | /** |
||
23 | * Update constructor. |
||
24 | */ |
||
25 | public function __construct() |
||
29 | |||
30 | /** |
||
31 | * @return CacheProvider |
||
32 | */ |
||
33 | public function getCache() |
||
37 | |||
38 | /** |
||
39 | * @param CacheProvider $cache |
||
40 | */ |
||
41 | public function setCache($cache) |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getCode() |
||
53 | |||
54 | /** |
||
55 | * @return void |
||
56 | */ |
||
57 | public function prepare() |
||
60 | |||
61 | /** |
||
62 | * @param array $projects |
||
63 | * @param array $options |
||
64 | * |
||
65 | * @return array |
||
66 | */ |
||
67 | public function process(array $projects, $options = array()) |
||
100 | |||
101 | /** |
||
102 | * @param \Cerbere\Model\Project $project |
||
103 | * @param \Cerbere\Model\ReleaseHistory $release_history |
||
104 | * @param boolean $flat |
||
105 | * @return array |
||
106 | */ |
||
107 | protected function generateReport(Project $project, ReleaseHistory $release_history, $flat = false) |
||
139 | |||
140 | /** |
||
141 | * @param \Cerbere\Model\Release $release |
||
142 | * @return array |
||
143 | */ |
||
144 | protected function getReportFromRelease(Release $release) |
||
154 | } |
||
155 |