W3cubDocs

/Symfony 4.1

YamlExtension

class YamlExtension extends AbstractExtension

Provides integration of the Yaml component with Twig.

Methods

getFilters()

{@inheritdoc}

encode($input, $inline = 0, $dumpObjects = 0)
dump($value, $inline = 0, $dumpObjects = false)
getName()

{@inheritdoc}

Details

getFilters()

{@inheritdoc}

encode($input, $inline = 0, $dumpObjects = 0)

Parameters

$input
$inline
$dumpObjects

dump($value, $inline = 0, $dumpObjects = false)

Parameters

$value
$inline
$dumpObjects

getName()

{@inheritdoc}

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/Extension/YamlExtension.html