Пример #1
0
 /**
  * Image constructor.
  * @param HttpClientInterface $httpClient
  * @param ImageMapper $imageMapper
  */
 public function __construct(HttpClientInterface $httpClient, ImageMapper $imageMapper)
 {
     parent::__construct($httpClient);
     $this->imageMapper = $imageMapper;
 }
Пример #2
0
 /**
  * Album constructor.
  * @param HttpClientInterface $httpClient
  * @param AlbumMapper $albumMapper
  */
 public function __construct(HttpClientInterface $httpClient, AlbumMapper $albumMapper)
 {
     parent::__construct($httpClient);
     $this->albumMapper = $albumMapper;
 }