Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class CheckTypeCondition implements ConditionInterface |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var Type |
||
14 | */ |
||
15 | private $type; |
||
16 | |||
17 | /** |
||
18 | * CheckTypeCondition constructor. |
||
19 | * @param Type $type : the Type to check |
||
20 | * @throws \DBFaker\Exceptions\UnsupportedDataTypeException |
||
21 | * @throws \Doctrine\DBAL\DBALException |
||
22 | */ |
||
23 | public function __construct(Type $type) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param Table $table |
||
30 | * @param Column $column |
||
31 | * @return bool : if the Generator will be applied |
||
32 | */ |
||
33 | public function canApply(Table $table, Column $column) : bool |
||
38 |