/** * Check - resized icon is available or not * * @param string $path Resized image path * * @return boolean */ protected function isResizedIconAvailable($path) { $icons = $this->getS3Icons(); return $this->isUseS3Icons() && $icons ? !empty($icons[$path]) : parent::isResizedIconAvailable($path); }