コード例 #1
0
 public function testContainsPropertyAnnotation()
 {
     $this->assertTrue($this->classInspector->containsPropertyAnnotation(Foo::className()));
     $this->assertTrue($this->classInspector->containsPropertyAnnotation(Bar::className()));
     $this->assertFalse($this->classInspector->containsPropertyAnnotation('whatever'));
 }
コード例 #2
0
 public function getPropertyAnnotations()
 {
     return $this->classInspector->getPropertyAnnotations();
 }