コード例 #1
0
 /**
  * @param \Donquixote\HastyReflectionCommon\Reflection\ClassLike\ClassLikeReflectionInterface $declaringClass
  * @param \ReflectionMethod $reflectionMethod
  */
 function __construct(ClassLikeReflectionInterface $declaringClass, \ReflectionMethod $reflectionMethod)
 {
     parent::__construct($declaringClass);
     $this->reflectionMethod = $reflectionMethod;
 }
コード例 #2
0
 /**
  * @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;
 }