public function remove($name)
    {
        if (!isset($this->data[$name])) {
            return null;
        }
        $value = $this->data[$name];
        unset($this->data[$name]);
        return $value;
    }
public function remove($name)
    {
        if (!isset($this->data[$name])) {
            return null;
        }
        $value = $this->data[$name];
        unset($this->data[$name]);
        return $value;
    }
public function remove ( $ name ) { if ( ! isset ( $ this -> data [ $ name ] ) ) { return null ; } $ value = $ this -> data [ $ name ] ; unset ( $ this -> data [ $ name ] ) ; return $ value ; }
Removes an enum.
@param string $name the name of the enum to be removed.
@return array the value of the removed enum. Null is returned if the enum does not exist.
Removes an enum .