parseResource example

switch ($o->type) {
            case 'array':
                return $this->parseArray($var$o);
            case 'boolean':
            case 'double':
            case 'integer':
            case 'null':
                return $this->parseGeneric($var$o);
            case 'object':
                return $this->parseObject($var$o);
            case 'resource':
                return $this->parseResource($var$o);
            case 'string':
                return $this->parseString($var$o);
            case 'unknown type':
            case 'resource (closed)':
            default:
                return $this->parseResourceClosed($var$o);
        }
    }

    public function addPlugin(PluginInterface $p): bool
    {
        
Home | Imprint | This part of the site doesn't use cookies.