src/Guzzle/Common/Collection.php
public function getAll(array $keys = null)
    {
        return $keys ? array_intersect_key($this->data, array_flip($keys)) : $this->data;
    }
public function getAll(array $keys = null)
    {
        return $keys ? array_intersect_key($this->data, array_flip($keys)) : $this->data;
    }
public function getAll ( array $ keys = null ) { return $ keys ? array_intersect_key ( $ this -> data , array_flip ( $ keys ) ) : $ this -> data ; }
Get all or a subset of matching key value pairs

@param array $keys Pass an array of keys to retrieve only a subset of key value pairs

@return array Returns an array of all matching key value pairs
Get all or a subset of matching key value pairs