Total Complexity | 2 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class References implements ReferencesContract |
||
8 | { |
||
9 | /** |
||
10 | * @var $wizard WizardContract |
||
|
|||
11 | */ |
||
12 | protected $wizard; |
||
13 | |||
14 | /** |
||
15 | * @var $constraint |
||
16 | */ |
||
17 | protected $constraint; |
||
18 | |||
19 | /** |
||
20 | * References constructor. |
||
21 | * @param $wizard |
||
22 | * @param $constraint |
||
23 | */ |
||
24 | public function __construct($wizard,$constraint) |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param $table |
||
32 | * @param string $field |
||
33 | * @return \Migratio\Contract\Foreign\OptionsContract |
||
34 | */ |
||
35 | public function references($table, $field = 'id') |
||
44 | } |
||
45 | } |