function __construct(PageInfo $pageInfo, ImagickTaskQueue $taskQueue)
 {
     $activeCategory = $pageInfo->getCategory();
     $activeExample = $pageInfo->getExample();
     $this->imageBaseURL = getImageURL($activeCategory, $activeExample);
     $this->customImageBaseURL = getCustomImageURL($activeCategory, $activeExample);
     $this->imageStatusBaseURL = getImageStatusURL($activeCategory, $activeExample);
     $this->taskQueue = $taskQueue;
 }
Beispiel #2
0
 public function getImageStatusURL($extraParams = [])
 {
     $path = getImageStatusURL($this->activeCategory, $this->activeExample);
     return $path . '?' . http_build_query($extraParams);
 }