PHP Class Jarves\Properties

Show file Open project: jarves/jarves

Public Properties

Property Type Description
$data array

Public Methods

Method Description
__construct ( $data )
getByPath ( string $path ) : mixed Gets the value of $path
setByPath ( string $path, mixed $data ) Sets the value of $path
toArray ( ) : array Returns the data as array.

Method Details

__construct() public method

public __construct ( $data )

getByPath() public method

Gets the value of $path
public getByPath ( string $path ) : mixed
$path string slash delimited string
return mixed

setByPath() public method

Sets the value of $path
public setByPath ( string $path, mixed $data )
$path string slash delimited string
$data mixed

toArray() public method

Returns the data as array.
public toArray ( ) : array
return array

Property Details

$data public property

public array $data
return array