original_string: public function default($key, $default = null)
  	{
  		if($this->has($key))
  			return $this->get($key);
  
  		$this->put($key, $default);
  
  		return $default;
  	}
code: public function default($key, $default = null)
  	{
  		if($this->has($key))
  			return $this->get($key);
  
  		$this->put($key, $default);
  
  		return $default;
  	}
code_tokens: public function default ( $ key , $ default = null ) { if ( $ this -> has ( $ key ) ) return $ this -> get ( $ key ) ; $ this -> put ( $ key , $ default ) ; return $ default ; }
docstring: If key is in the collection, return its value.
  If not, insert key with the given default as value and return default.
  
  @param  string  $key
  @param  mixed   $default
  @return mixed
docstring_tokens: If key is in the collection return its value . If not insert key with the given default as value and return default .