Jarves\EventListener\ParamFetcherListener::isParamFetcherType PHP Метод

isParamFetcherType() приватный Метод

Returns true if the given controller parameter is type-hinted as an instance of ParamFetcher.
private isParamFetcherType ( ReflectionParameter $controllerParam ) : boolean
$controllerParam ReflectionParameter A parameter of the controller action.
Результат boolean
    private function isParamFetcherType(\ReflectionParameter $controllerParam)
    {
        $type = $controllerParam->getClass();
        if (null === $type) {
            return false;
        }
        return $type->implementsInterface(ParamFetcherInterface::class);
    }