src/Tus/Server.php
protected function verifyUploadSize() : bool
    {
        $maxUploadSize = $this->getMaxUploadSize();

        if ($maxUploadSize > 0 && $this->getRequest()->header('Upload-Length') > $maxUploadSize) {
            return false;
        }

        return true;
    }
protected function verifyUploadSize() : bool
    {
        $maxUploadSize = $this->getMaxUploadSize();

        if ($maxUploadSize > 0 && $this->getRequest()->header('Upload-Length') > $maxUploadSize) {
            return false;
        }

        return true;
    }
protected function verifyUploadSize ( ) : bool { $ maxUploadSize = $ this -> getMaxUploadSize ( ) ; if ( $ maxUploadSize > 0 && $ this -> getRequest ( ) -> header ( 'Upload-Length' ) > $ maxUploadSize ) { return false ; } return true ; }
Verify max upload size.

@return bool
Verify max upload size .