public function fetchCaptures()
    {
        $captures = new Capture($this->connector, $this->getLocation());
        $captures = $captures->fetch()->getArrayCopy();

        foreach ($captures as $id => $capture) {
            $captures[$id] = new Capture($this->connector, $this->getLocation(), $capture['capture_id']);
            $captures[$id]->exchangeArray($capture);
        }
        return $captures;
    }
public function fetchCaptures()
    {
        $captures = new Capture($this->connector, $this->getLocation());
        $captures = $captures->fetch()->getArrayCopy();

        foreach ($captures as $id => $capture) {
            $captures[$id] = new Capture($this->connector, $this->getLocation(), $capture['capture_id']);
            $captures[$id]->exchangeArray($capture);
        }
        return $captures;
    }
public function fetchCaptures ( ) { $ captures = new Capture ( $ this -> connector , $ this -> getLocation ( ) ) ; $ captures = $ captures -> fetch ( ) -> getArrayCopy ( ) ; foreach ( $ captures as $ id => $ capture ) { $ captures [ $ id ] = new Capture ( $ this -> connector , $ this -> getLocation ( ) , $ capture [ 'capture_id' ] ) ; $ captures [ $ id ] -> exchangeArray ( $ capture ) ; } return $ captures ; }
Fetches all captures.

@throws ConnectorException        When the API replies with an error response
@throws RequestException          When an error is encountered
@throws \RuntimeException         On an unexpected API response
@throws \RuntimeException         If the response content type is not JSON
@throws \InvalidArgumentException If the JSON cannot be parsed
@throws \LogicException           When Guzzle cannot populate the response

@return Capture[]
Fetches all captures .