| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | class CharacterColumn extends AbstractColumn implements ColumnInterface |
||
| 26 | { |
||
| 27 | public ?string $collation; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $name |
||
| 31 | * @param int $length |
||
| 32 | * @param bool $varying |
||
| 33 | * @param bool $national |
||
| 34 | */ |
||
| 35 | public function __construct(string $name, public readonly int $length, public readonly bool $varying, public readonly bool $national) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string|null $collation |
||
| 42 | * |
||
| 43 | * @return $this |
||
| 44 | */ |
||
| 45 | public function collation(?string $collation): static |
||
| 52 |