public function clear()
    {
        if ($this->locked) {
            throw new AccessException('Options cannot be cleared from a lazy option or normalizer.');
        }

        $this->defined = [];
        $this->defaults = [];
        $this->nested = [];
        $this->required = [];
        $this->resolved = [];
        $this->lazy = [];
        $this->normalizers = [];
        $this->allowedTypes = [];
        $this->allowedValues = [];
        $this->deprecated = [];

        return $this;
    }
public function clear()
    {
        if ($this->locked) {
            throw new AccessException('Options cannot be cleared from a lazy option or normalizer.');
        }

        $this->defined = [];
        $this->defaults = [];
        $this->nested = [];
        $this->required = [];
        $this->resolved = [];
        $this->lazy = [];
        $this->normalizers = [];
        $this->allowedTypes = [];
        $this->allowedValues = [];
        $this->deprecated = [];

        return $this;
    }
public function clear ( ) { if ( $ this -> locked ) { throw new AccessException ( 'Options cannot be cleared from a lazy option or normalizer.' ) ; } $ this -> defined = [ ] ; $ this -> defaults = [ ] ; $ this -> nested = [ ] ; $ this -> required = [ ] ; $ this -> resolved = [ ] ; $ this -> lazy = [ ] ; $ this -> normalizers = [ ] ; $ this -> allowedTypes = [ ] ; $ this -> allowedValues = [ ] ; $ this -> deprecated = [ ] ; return $ this ; }
Removes all options.

@return $this

@throws AccessException If called from a lazy option or normalizer
Removes all options .