private function isParamFetcherType(\ReflectionParameter $controllerParam)
    {
        $type = $controllerParam->getClass();
        if (null === $type) {
            return false;
        }

        return $type->implementsInterface(ParamFetcherInterface::class);
    }
private function isParamFetcherType(\ReflectionParameter $controllerParam)
    {
        $type = $controllerParam->getClass();
        if (null === $type) {
            return false;
        }

        return $type->implementsInterface(ParamFetcherInterface::class);
    }
private function isParamFetcherType ( \ ReflectionParameter $ controllerParam ) { $ type = $ controllerParam -> getClass ( ) ; if ( null === $ type ) { return false ; } return $ type -> implementsInterface ( ParamFetcherInterface :: class ) ; }
Returns true if the given controller parameter is type-hinted as
an instance of ParamFetcher.

@param \ReflectionParameter $controllerParam A parameter of the controller action

@return bool
Returns true if the given controller parameter is type - hinted as an instance of ParamFetcher .