We often write code like below. I think a better option would be to have constants such as PARAM_OPTIONAL, PARAM_REQUIRED, PARAM_HASARG etc.
$this->addOption( 'group', '(optional) Group Id being cleared', false, /*required*/ true /*has arg*/ );
We often write code like below. I think a better option would be to have constants such as PARAM_OPTIONAL, PARAM_REQUIRED, PARAM_HASARG etc.
$this->addOption( 'group', '(optional) Group Id being cleared', false, /*required*/ true /*has arg*/ );