Adamgoose\Routing\Annotations\AnnotationSet::__construct PHP Method

__construct() public method

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