src/Compiler/Compiler.php
private function decorateValue($value) : string
    {
        $ret = 'null';
        switch(gettype($value)){
            case 'string':
                $ret = $this->decorateStringValue($value);
                break;
            case 'integer':
            case 'double':
                $ret = $value;
                break;
            case 'boolean':
                $ret = $value ? 'true' : 'false';
                break;
            case 'array':
                $ret = $this->decorateArrayValue($value);
                break;
        }
        return $ret;
    }
private function decorateValue($value) : string
    {
        $ret = 'null';
        switch(gettype($value)){
            case 'string':
                $ret = $this->decorateStringValue($value);
                break;
            case 'integer':
            case 'double':
                $ret = $value;
                break;
            case 'boolean':
                $ret = $value ? 'true' : 'false';
                break;
            case 'array':
                $ret = $this->decorateArrayValue($value);
                break;
        }
        return $ret;
    }
private function decorateValue ( $ value ) : string { $ ret = 'null' ; switch ( gettype ( $ value ) ) { case 'string' : $ ret = $ this -> decorateStringValue ( $ value ) ; break ; case 'integer' : case 'double' : $ ret = $ value ; break ; case 'boolean' : $ ret = $ value ? 'true' : 'false' ; break ; case 'array' : $ ret = $ this -> decorateArrayValue ( $ value ) ; break ; } return $ ret ; }
Modify value for function call or setting property

@param mixed $value

@return string

@throws CompileErrorException
Modify value for function call or setting property