original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Removes all options.
  
  @return $this
  
  @throws AccessException If called from a lazy option or normalizer
docstring_tokens: Removes all options .