public function Collection::getPregMatchValue

Return a collection value for a match array of a preg_replace function

Parameters

array $matches preg_replace* matches:

Return value

mixed

File

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

Class

Collection
Key value pair collection object

Namespace

Guzzle\Common

Code

public function getPregMatchValue(array $matches) {
  return $this
    ->get($matches[1]);
}