Ejemplo n.º 1
0
 /**
  * @param string $name
  * @param mixed[]|PhpFunctionParameter[] $parameters
  */
 public function __construct($name, array $parameters = array())
 {
     parent::__construct($name);
     $this->setParameters($parameters);
 }
 /**
  * @param string $name
  * @param mixed $value
  * @param string $access
  */
 public function __construct($name, $value = null, $access = parent::ACCESS_PUBLIC)
 {
     parent::__construct($name, $access);
     $this->setValue($value);
 }