public function parameterMatches(ReflectionParameter $param, ParameterSelector $selector) { /* @var $selector ParamByExactName */ return $selector->getExactName() == $param->getName(); }
public function parameterMatches(ReflectionParameter $param, ParameterSelector $selector) { /* @var $selector ParamByPosition */ return $param->getPosition() === $selector->getParamPosFrom0(); }