| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class ConfigureEvent extends Event |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | private $modules; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var CoreOptions |
||
| 29 | */ |
||
| 30 | private $options; |
||
| 31 | |||
| 32 | 1 | public function __construct(CoreOptions $options, $modules) |
|
| 33 | { |
||
| 34 | 1 | $this->modules = $modules; |
|
| 35 | 1 | $this->options = $options; |
|
| 36 | 1 | parent::__construct(Plugin::YAWIK_CONFIGURE_EVENT); |
|
| 37 | 1 | } |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | 1 | public function getModules() |
|
| 43 | { |
||
| 44 | 1 | return $this->modules; |
|
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return CoreOptions |
||
| 49 | */ |
||
| 50 | 1 | public function getOptions() |
|
| 53 | } |
||
| 54 | } |
||
| 55 |