ArrayParser
API reference › yii › db › pgsql › ArrayParser
The class converts PostgreSQL array representation to PHP array
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
parse() | Convert array from PostgreSQL to PHP | ArrayParser |
Method details
Section titled “Method details”parse()
Section titled “parse() ”public function parse(string $value): array|nullConvert array from PostgreSQL to PHP
Parameters
| Parameter | Type | Description |
|---|---|---|
$value | string | String to be converted |
Returns
array|null