src/Adapter/YandexAdapter.php
public function getImagesGallery(Gallery $album)
    {
        $data = $this->getDataByType($album->getId(), 'albumPhotos');
        if (isset($data['entries'])) {
            foreach ($data['entries'] as $dataImage) {
                $image = new Image(substr(strrchr($dataImage['id'], ':'), 1));
                $this->mappingImage($image, $dataImage);
                $album->addImage($image);
            }
        }

        return $album;
    }
public function getImagesGallery(Gallery $album)
    {
        $data = $this->getDataByType($album->getId(), 'albumPhotos');
        if (isset($data['entries'])) {
            foreach ($data['entries'] as $dataImage) {
                $image = new Image(substr(strrchr($dataImage['id'], ':'), 1));
                $this->mappingImage($image, $dataImage);
                $album->addImage($image);
            }
        }

        return $album;
    }
{@inheritDoc}