Property | Type | Description | |
---|---|---|---|
$data | array |
Method | Description | |
---|---|---|
__construct ( $data = [] ) | ||
clear ( ) | Empty the data layer. | |
set ( array | string $key, mixed $value = null ) | Add data to the data layer. Supports dot notation. | |
toArray ( ) : array | Return an array representation of the data layer. | |
toJson ( ) : string | Return a json representation of the data layer. |