Final Class Yiisoft\Db\Pgsql\Column\StructuredColumn
| Inheritance | Yiisoft\ |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| phpTypecast() | Yiisoft\ |
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;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.