public function __construct(PageInfo $pageInfo, ImagickTaskQueue $taskQueue) { $activeCategory = $pageInfo->getCategory(); $activeExample = $pageInfo->getExample(); $this->imageBaseURL = \ImagickDemo\Route::getImageURL($activeCategory, $activeExample); $this->orignalImageBaseURL = \ImagickDemo\Route::getOriginalImageURL($activeCategory, $activeExample); $this->customImageBaseURL = \ImagickDemo\Route::getCustomImageURL($activeCategory, $activeExample); $this->imageStatusBaseURL = \ImagickDemo\Route::getImageStatusURL($activeCategory, $activeExample); $this->taskQueue = $taskQueue; }
public function getURL() { return Route::getImageURL($this->activeCategory, $this->activeExample); }