/** * @param \Donquixote\HastyReflectionCommon\Reflection\ClassLike\ClassLikeReflectionInterface $declaringClass * @param \ReflectionMethod $reflectionMethod */ function __construct(ClassLikeReflectionInterface $declaringClass, \ReflectionMethod $reflectionMethod) { parent::__construct($declaringClass); $this->reflectionMethod = $reflectionMethod; }
/** * @param \Donquixote\HastyReflectionCommon\Reflection\ClassLike\ClassLikeReflectionInterface $declaringClass * @param \Donquixote\HastyPhpAst\Ast\FunctionLike\AstFunctionLikeInterface $astNode */ function __construct(ClassLikeReflectionInterface $declaringClass, AstFunctionLikeInterface $astNode) { parent::__construct($declaringClass); $this->isInterface = $declaringClass->isInterface(); $this->astNode = $astNode; }