Esempio n. 1
0
 public function setMethod(PhpMethod $method)
 {
     $this->methods[$method->getName()] = $method;
     return $this;
 }
Esempio n. 2
0
 /**
  * Constructor
  *
  * @param PhpMethod $method
  */
 public function __construct(PhpMethod $method)
 {
     parent::__construct($method->getName());
     $this->method = $method;
     $this->createAsProxy();
 }