public function Collection::clear

Same name in this branch

Removes all key value pairs

Return value

Collection

File

drupal/core/vendor/guzzle/common/Guzzle/Common/Collection.php, line 81

Class

Collection
Key value pair collection object

Namespace

Guzzle\Common

Code

public function clear() {
  $this->data = array();
  return $this;
}