Jobbuddy
Chargement...
Recherche...
Aucune correspondance
Référence de la classe Dumper

Fonctions membres publiques

 __construct (private int $indentation=4)
 dump (mixed $input, int $inline=0, int $indent=0, int $flags=0)

Description détaillée

Dumper dumps PHP variables to YAML strings.

Auteur
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com

@final

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( private int $indentation = 4)
Paramètres
int$indentationThe amount of spaces to use for indentation of nested nodes

Documentation des fonctions membres

◆ dump()

dump ( mixed $input,
int $inline = 0,
int $indent = 0,
int $flags = 0 )

Dumps a PHP value to YAML.

Paramètres
mixed$inputThe PHP value
int$inlineThe level where you switch to inline YAML
int$indentThe level of indentation (used internally)
int-mask-of<Yaml::DUMP_*>$flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string

La documentation de cette classe a été générée à partir du fichier suivant :