Symfony\Component\Yaml\Inline::dumpArray
Dumps a PHP array to a YAML string.
Signature
Parameters
$value
— array- The PHP array to dump
$exceptionOnInvalidType
— object- true if an exception must be thrown on invalid types (a PHP resource or object), false otherwise
$objectSupport
— object- true if object support is enabled, false otherwise
Returns
- string
- The YAML string representing the PHP array