public ImageStyleDownloadController::__construct(LockBackendInterface $lock, ImageFactory $image_factory)
Constructs a ImageStyleDownloadController object.
Parameters
\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend.
\Drupal\Core\Image\ImageFactory $image_factory: The image factory.
File
- core/modules/image/src/Controller/ImageStyleDownloadController.php, line 51
Class
- ImageStyleDownloadController
- Defines a controller to serve image styles.
Namespace
Drupal\image\Controller
Code
public function __construct(LockBackendInterface $lock, ImageFactory $image_factory) { $this->lock = $lock; $this->imageFactory = $image_factory; $this->logger = $this->getLogger('image'); }
Please login to continue.