PHP Class Pop\Data\Type\Yaml

Author: Nick Sagona, III ([email protected])
Afficher le fichier Open project: nicksagona/PopPHP Class Usage Examples

Méthodes publiques

Méthode Description
decode ( string $data ) : mixed Decode the data into PHP.
encode ( mixed $data ) : string Encode the data into its native format.

Method Details

decode() public static méthode

Decode the data into PHP.
public static decode ( string $data ) : mixed
$data string
Résultat mixed

encode() public static méthode

Encode the data into its native format.
public static encode ( mixed $data ) : string
$data mixed
Résultat string