0 follower

Final Class Yiisoft\Db\Pgsql\Column\StructuredColumn

InheritanceYiisoft\Db\Pgsql\Column\StructuredColumn » Yiisoft\Db\Schema\Column\AbstractStructuredColumn

Method Details

Hide inherited methods

phpTypecast() public method

public array|null 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;
}