protected function parseAsArray($content)
    {
        $data = json_decode($content, true);

        return array(
            isset($data['status']) ? $data['status'] : false,
            isset($data['error']) ? $data['error'] : false,
            $data,
        );
    }
protected function parseAsArray($content)
    {
        $data = json_decode($content, true);

        return array(
            isset($data['status']) ? $data['status'] : false,
            isset($data['error']) ? $data['error'] : false,
            $data,
        );
    }
protected function parseAsArray ( $ content ) { $ data = json_decode ( $ content , true ) ; return array ( isset ( $ data [ 'status' ] ) ? $ data [ 'status' ] : false , isset ( $ data [ 'error' ] ) ? $ data [ 'error' ] : false , $ data , ) ; }
Parses the content as array.

@param string $content

@return array
Parses the content as array .