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);
}