PHP Interface Kraken\Util\Parser\ParserInterface

Show file Open project: kraken-php/framework Interface Usage Examples

Public Methods

Method Description
decode ( string $str ) : mixed Decode the object from string.
encode ( mixed $mixed ) : string Encode the object to string.

Method Details

decode() public method

Decode the object from string.
public decode ( string $str ) : mixed
$str string
return mixed

encode() public method

Encode the object to string.
public encode ( mixed $mixed ) : string
$mixed mixed
return string