コード例 #1
0
ファイル: ReflectionClass.php プロジェクト: jenswiese/phpteda
 public function getDescription()
 {
     return AnnotationReader::create($this->reflectionClass->getDocComment())->getDescription();
 }
コード例 #2
0
 public function testGettingDescription()
 {
     $expectedDescription = 'This is a test class for class reflection, nothing more, nothing less';
     $actualDescription = $this->reader->getDescription();
     $this->assertEquals($expectedDescription, $actualDescription);
 }