/** * Constructor. * * @param integer $position * @param string $name * @param string $type * @param boolean $required * @param mixed $default */ public function __construct($position, $name, $type, $required = true, $default = null) { parent::__construct($position, $name, $required); $this->type = $type; $this->default = $default; }
/** * Constructor. * * @param int $position * @param string $name * @param string $class * @param boolean $required */ public function __construct($position, $name, $class, $required = true) { parent::__construct($position, $name, $required); $this->class = $class; }