src/HandlesMediaUploadExceptions.php
private function getStatusCodeForMediaUploadException(MediaUploadException $e)
    {
        foreach ($this->status_codes as $status_code => $exceptions) {
            if (in_array(get_class($e), $exceptions)) {
                return $status_code;
            }
        }

        return 500;
    }
private function getStatusCodeForMediaUploadException(MediaUploadException $e)
    {
        foreach ($this->status_codes as $status_code => $exceptions) {
            if (in_array(get_class($e), $exceptions)) {
                return $status_code;
            }
        }

        return 500;
    }
private function getStatusCodeForMediaUploadException ( MediaUploadException $ e ) { foreach ( $ this -> status_codes as $ status_code => $ exceptions ) { if ( in_array ( get_class ( $ e ) , $ exceptions ) ) { return $ status_code ; } } return 500 ; }
Get the appropriate HTTP status code for the exception.

@param  \Plank\Mediable\Exceptions\MediaUploadException $e
@return integer
Get the appropriate HTTP status code for the exception .