addMethod() public method

Add a new method to the class.
public addMethod ( string $methodName )
$methodName string
コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function addMethod($methodName)
 {
     return $this->reflectionClass->addMethod($methodName);
 }