Final Class Yiisoft\Db\Pgsql\Column\ArrayLazyColumn
| Inheritance | Yiisoft\Db\Pgsql\Column\ArrayLazyColumn » Yiisoft\Db\Schema\Column\AbstractArrayColumn |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| phpTypecast() | Yiisoft\Db\Pgsql\Column\ArrayLazyColumn |
Method Details
| 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;
}
Signup or Login in order to comment.