0 follower

Final Class Yiisoft\Db\Pgsql\Column\StructuredLazyColumn

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

Method Details

Hide inherited methods

phpTypecast() public method

public Yiisoft\Db\Pgsql\Data\StructuredLazyArray|null phpTypecast ( string|null $value )
$value string|null

                public function phpTypecast(mixed $value): ?StructuredLazyArray
{
    if (is_string($value)) {
        return new StructuredLazyArray($value, $this->columns);
    }
    return $value;
}