src/Handler/JsonHandler.php
private function getMethod($jsonRequest): MethodMetaData
    {
        $method = $jsonRequest->getMethod();

        if (false === $this->mapper->hasMethod($method)) {
            throw new Exceptions\MethodNotFoundException($jsonRequest->getMethod());
        }

        return $this->mapper->getMethod($method);
    }
private function getMethod($jsonRequest): MethodMetaData
    {
        $method = $jsonRequest->getMethod();

        if (false === $this->mapper->hasMethod($method)) {
            throw new Exceptions\MethodNotFoundException($jsonRequest->getMethod());
        }

        return $this->mapper->getMethod($method);
    }
private function getMethod ( $ jsonRequest ) : MethodMetaData { $ method = $ jsonRequest -> getMethod ( ) ; if ( false === $ this -> mapper -> hasMethod ( $ method ) ) { throw new Exceptions \ MethodNotFoundException ( $ jsonRequest -> getMethod ( ) ) ; } return $ this -> mapper -> getMethod ( $ method ) ; }
@param JsonRequest $jsonRequest

@return MethodMetaData
@param JsonRequest $jsonRequest