Adamgoose\Routing\Annotations\AnnotationSet::__construct PHP 메소드

__construct() 공개 메소드

Create a new annotation set instance.
public __construct ( ReflectionClass $class, Doctrine\Common\Annotations\SimpleAnnotationReader $reader ) : void
$class ReflectionClass
$reader Doctrine\Common\Annotations\SimpleAnnotationReader
리턴 void
    public function __construct(ReflectionClass $class, SimpleAnnotationReader $reader)
    {
        $this->class = $reader->getClassAnnotations($class);
        $this->method = $this->getMethodAnnotations($class, $reader);
    }