src/FreeFW/JsonApi/V1/Model/Document.php
public function getHttpCode()
    {
        $code= 200;
        if ($this->errors) {
            /**
             * @var \FreeFW\JsonApi\V1\Model\ErrorObject $oneError
             */
            foreach ($this->errors as $idx => $oneError) {
                if ($oneError->getStatus() > $code) {
                    $code = $oneError->getStatus();
                }
            }
        }
        return $code;
    }
public function getHttpCode()
    {
        $code= 200;
        if ($this->errors) {
            /**
             * @var \FreeFW\JsonApi\V1\Model\ErrorObject $oneError
             */
            foreach ($this->errors as $idx => $oneError) {
                if ($oneError->getStatus() > $code) {
                    $code = $oneError->getStatus();
                }
            }
        }
        return $code;
    }
public function getHttpCode ( ) { $ code = 200 ; if ( $ this -> errors ) { /**
             * @var \FreeFW\JsonApi\V1\Model\ErrorObject $oneError
             */ foreach ( $ this -> errors as $ idx => $ oneError ) { if ( $ oneError -> getStatus ( ) > $ code ) { $ code = $ oneError -> getStatus ( ) ; } } } return $ code ; }
Get Http code

@return int
Get Http code