Final Class Yiisoft\Db\Pgsql\Column\StructuredColumn
| Inheritance | Yiisoft\Db\Pgsql\Column\StructuredColumn » Yiisoft\Db\Schema\Column\AbstractStructuredColumn |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| phpTypecast() | Yiisoft\Db\Pgsql\Column\StructuredColumn |
Method Details
| public ?array phpTypecast ( string|null $value ) | ||
| $value | string|null | |
public function phpTypecast(mixed $value): ?array
{
if (is_string($value)) {
return (new StructuredLazyArray($value, $this->columns))->getValue();
}
return $value;
}
Signup or Login in order to comment.