0 follower

Interface Yiisoft\Db\Schema\Data\LazyArrayInterface

Implemented byYiisoft\Db\Schema\Data\AbstractLazyArray, Yiisoft\Db\Schema\Data\AbstractStructuredLazyArray, Yiisoft\Db\Schema\Data\JsonLazyArray, Yiisoft\Db\Schema\Data\LazyArray, Yiisoft\Db\Schema\Data\StructuredLazyArray

The interface for classes that represent an array with lazy parsing of data retrieved from the database.

Public Methods

Hide inherited methods

Method Description Defined By
getRawValue() The raw value that can be represented as: - a string retrieved value from the database that can be parsed into an array; - an array of values if the value is already parsed. Yiisoft\Db\Schema\Data\LazyArrayInterface
getValue() Returns parsed and typecasted value. Yiisoft\Db\Schema\Data\LazyArrayInterface

Method Details

Hide inherited methods

getRawValue() public abstract method

The raw value that can be represented as: - a string retrieved value from the database that can be parsed into an array; - an array of values if the value is already parsed.

public abstract array|string getRawValue ( )

                public function getRawValue(): array|string;

            
getValue() public abstract method

Returns parsed and typecasted value.

public abstract array getValue ( )

                public function getValue(): array;