Jade\Compiler\CompilerUtils::parseValue PHP 메소드

parseValue() 보호된 정적인 메소드

Parse a value from its quoted string (or JSON) representation.
protected static parseValue ( string $value ) : mixed
$value string
리턴 mixed
    protected static function parseValue($value)
    {
        return json_decode(preg_replace("/'([^']*?)'/", '"$1"', $value));
    }