1 | <?php |
||
31 | class CerbereReportActionEvent extends CerbereEvent |
||
32 | { |
||
33 | /** |
||
34 | * @var ActionInterface |
||
35 | */ |
||
36 | protected $action; |
||
37 | |||
38 | /** |
||
39 | * @var Project |
||
40 | */ |
||
41 | protected $project; |
||
42 | |||
43 | /** |
||
44 | * @var array |
||
45 | */ |
||
46 | protected $report; |
||
47 | |||
48 | /** |
||
49 | * @var array |
||
50 | */ |
||
51 | protected $options; |
||
52 | |||
53 | /** |
||
54 | * @param ActionInterface $action |
||
55 | * @param Project $project |
||
56 | * @param array $report |
||
57 | * @param array $options |
||
58 | */ |
||
59 | public function __construct(ActionInterface $action, Project $project, $report, $options = array()) |
||
66 | |||
67 | /** |
||
68 | * @return ActionInterface |
||
69 | */ |
||
70 | public function getAction() |
||
74 | |||
75 | /** |
||
76 | * @param ActionInterface $action |
||
77 | */ |
||
78 | public function setAction($action) |
||
82 | |||
83 | /** |
||
84 | * @return Project |
||
85 | */ |
||
86 | public function getProject() |
||
90 | |||
91 | /** |
||
92 | * @param Project $project |
||
93 | */ |
||
94 | public function setProject($project) |
||
98 | |||
99 | /** |
||
100 | * @return array |
||
101 | */ |
||
102 | public function getReport() |
||
106 | |||
107 | /** |
||
108 | * @param array $report |
||
109 | */ |
||
110 | public function setReport($report) |
||
114 | |||
115 | /** |
||
116 | * @return array |
||
117 | */ |
||
118 | public function getOptions() |
||
122 | |||
123 | /** |
||
124 | * @param array $options |
||
125 | */ |
||
126 | public function setOptions($options) |
||
130 | } |
||
131 |