Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Options implements OptionsContract |
||
8 | { |
||
9 | /** |
||
10 | * @var $wizard WizardContract |
||
|
|||
11 | */ |
||
12 | protected $wizard; |
||
13 | |||
14 | /** |
||
15 | * @var $constraint |
||
16 | */ |
||
17 | protected $constraint; |
||
18 | |||
19 | /** |
||
20 | * Options constructor. |
||
21 | * @param $wizard |
||
22 | * @param $constraint |
||
23 | */ |
||
24 | public function __construct($wizard,$constraint) |
||
25 | { |
||
26 | $this->wizard=$wizard; |
||
27 | $this->constraint=$constraint; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return \Migratio\Contract\Foreign\OptionsPropertiesContract |
||
32 | */ |
||
33 | public function onDelete() |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return \Migratio\Contract\Foreign\OptionsPropertiesContract |
||
41 | */ |
||
42 | public function onUpdate() |
||
46 | } |
||
47 | |||
48 | } |