/** * Image constructor. * @param HttpClientInterface $httpClient * @param ImageMapper $imageMapper */ public function __construct(HttpClientInterface $httpClient, ImageMapper $imageMapper) { parent::__construct($httpClient); $this->imageMapper = $imageMapper; }
/** * Album constructor. * @param HttpClientInterface $httpClient * @param AlbumMapper $albumMapper */ public function __construct(HttpClientInterface $httpClient, AlbumMapper $albumMapper) { parent::__construct($httpClient); $this->albumMapper = $albumMapper; }