public function testContainsPropertyAnnotation() { $this->assertTrue($this->classInspector->containsPropertyAnnotation(Foo::className())); $this->assertTrue($this->classInspector->containsPropertyAnnotation(Bar::className())); $this->assertFalse($this->classInspector->containsPropertyAnnotation('whatever')); }
public function getPropertyAnnotations() { return $this->classInspector->getPropertyAnnotations(); }