Ejemplo n.º 1
0
 /**
  * @param string $name          The name of the method
  * @param array $params         An array of \Phpy\Parameter\Parameter objects
  * @param string $visibility    The visibility of the method
  * @param bool $isAbstract      Is the method abstract?
  * @param bool $isStatic        Is the method static?
  * @param bool $isFinal         Is the method final?
  */
 public function __construct($name, $params = array(), $visibility = 'public', $isAbstract = false, $isStatic = false, $isFinal = false)
 {
     parent::__construct($name, $params);
     $this->setVisibility($visibility)->setAbstract($isAbstract)->setStatic($isStatic)->setFinal($isFinal);
 }