public function __construct($expectedAnnotationType, Reader $reader) { $this->expectedAnnotationType = $expectedAnnotationType; $this->annotationReader = $reader; }