| 1 | <?php |
||
| 12 | class CerbereDoActionEvent extends CerbereEvent |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var ActionInterface |
||
| 16 | */ |
||
| 17 | protected $action; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var Project |
||
| 21 | */ |
||
| 22 | protected $project; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param ActionInterface $action |
||
| 26 | * @param Project $project |
||
| 27 | */ |
||
| 28 | public function __construct(ActionInterface $action, Project $project) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return ActionInterface |
||
| 36 | */ |
||
| 37 | public function getAction() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param ActionInterface $action |
||
| 44 | */ |
||
| 45 | public function setAction($action) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return \Cerbere\Model\Project |
||
| 52 | */ |
||
| 53 | public function getProject() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param \Cerbere\Model\Project $project |
||
| 60 | */ |
||
| 61 | public function setProject($project) |
||
| 65 | } |
||
| 66 |