original_string: public function clear($name = null)
  	{
  		if ($name === null) {
  			$this->data = array();
  		} elseif (is_array($name)) {
  			foreach ($name as $index)
  				unset($this->data[$index]);
  		} else {
  			unset($this->data[$name]);
  		}
  	}
code: public function clear($name = null)
  	{
  		if ($name === null) {
  			$this->data = array();
  		} elseif (is_array($name)) {
  			foreach ($name as $index)
  				unset($this->data[$index]);
  		} else {
  			unset($this->data[$name]);
  		}
  	}
code_tokens: public function clear ( $ name = null ) { if ( $ name === null ) { $ this -> data = array ( ) ; } elseif ( is_array ( $ name ) ) { foreach ( $ name as $ index ) unset ( $ this -> data [ $ index ] ) ; } else { unset ( $ this -> data [ $ name ] ) ; } }
docstring: clears a the entire data or only the given key
  
  @param array|string $name clears only one value if you give a name, multiple values if
  you give an array of names, or the entire data if left null
docstring_tokens: clears a the entire data or only the given key