private function fetchImages($photoId)
    {
        $query = array_merge(
            $this->defaultQuery,
            [
                'method'   => 'flickr.photos.getSizes',
                'photo_id' => $photoId,
            ]
        );

        $body = $this->newRequest()
            ->setQuery($query)
            ->GET()
            ->getBody('array');

        return $this->extractImagesArray($body);

    }
private function fetchImages($photoId)
    {
        $query = array_merge(
            $this->defaultQuery,
            [
                'method'   => 'flickr.photos.getSizes',
                'photo_id' => $photoId,
            ]
        );

        $body = $this->newRequest()
            ->setQuery($query)
            ->GET()
            ->getBody('array');

        return $this->extractImagesArray($body);

    }
private function fetchImages ( $ photoId ) { $ query = array_merge ( $ this -> defaultQuery , [ 'method' => 'flickr.photos.getSizes' , 'photo_id' => $ photoId , ] ) ; $ body = $ this -> newRequest ( ) -> setQuery ( $ query ) -> GET ( ) -> getBody ( 'array' ) ; return $ this -> extractImagesArray ( $ body ) ; }
This function makes the request to get images sources from a photo and returns them as an array.

@param  string $photoId
@return array
This function makes the request to get images sources from a photo and returns them as an array .