0 follower

Final Class Yiisoft\Db\Pgsql\Column\ArrayLazyColumn

InheritanceYiisoft\Db\Pgsql\Column\ArrayLazyColumn » Yiisoft\Db\Schema\Column\AbstractArrayColumn

Method Details

Hide inherited methods

phpTypecast() public method

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

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