src/FileGenerator.php
protected function formatValue($value)
    {
        if (is_array($value)) {
            return Formatter::formatArray($value);
        }

        return Formatter::formatScalar($value);
    }
protected function formatValue($value)
    {
        if (is_array($value)) {
            return Formatter::formatArray($value);
        }

        return Formatter::formatScalar($value);
    }
protected function formatValue ( $ value ) { if ( is_array ( $ value ) ) { return Formatter :: formatArray ( $ value ) ; } return Formatter :: formatScalar ( $ value ) ; }
Format a value before processing.

@param array|string $value
@return array|string
Format a value before processing .