/** */ public function __unset($name) { switch ($name) { case 'priority': if ($this->priority !== null) { throw new Exception('Cannot unset priority once set'); } default: return parent::__unset($name); } }
/** */ public function __unset($name) { switch ($name) { case 'value': return $this->value = null; default: return parent::__unset($name); } }
/** */ public function __unset($name) { switch ($name) { case 'primary': case 'secondary': return $this->{$name} = null; default: return parent::__unset($name); } }
/** */ public function __unset($name) { switch ($name) { case 'alias': case 'ready': case 'function': return $this->{$name} = null; default: return parent::__unset($name); } }