public function Collection::get

Same name in this branch

Get a specific key value.

Parameters

string $key Key to retrieve.:

Return value

mixed|null Value of the key or NULL

1 call to Collection::get()
Collection::offsetGet in drupal/core/vendor/guzzle/common/Guzzle/Common/Collection.php
ArrayAccess implementation of offsetGet()

File

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

Class

Collection
Key value pair collection object

Namespace

Guzzle\Common

Code

public function get($key) {
  return isset($this->data[$key]) ? $this->data[$key] : null;
}