Exemple #1
0
 public function testDocComment()
 {
     $method = new Method('public', 'setVisibility', '$visibility', '$this->visibility = $visibility;');
     $method->setDocComment('myDoc');
     $this->assertSame('myDoc', $method->getDocComment());
 }