| Total Complexity | 22 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | abstract class Forms |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Column |
||
| 18 | */ |
||
| 19 | protected $column; |
||
| 20 | |||
| 21 | public $type = 'text'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Forms constructor. |
||
| 25 | * |
||
| 26 | * @param Column $column |
||
| 27 | */ |
||
| 28 | public function __construct(Column $column) |
||
| 29 | { |
||
| 30 | $this->column = $column; |
||
| 31 | } |
||
| 32 | |||
| 33 | abstract public function template(); |
||
| 34 | |||
| 35 | public function getType(): string |
||
| 70 | } |
||
| 71 | } |
||
| 72 | |||
| 73 | public function getFormStub($type) |
||
| 78 |