public function EnsureSubscriber::__construct in Flysystem 3.x
Same name and namespace in other branches
- 8 src/EventSubscriber/EnsureSubscriber.php \Drupal\flysystem\EventSubscriber\EnsureSubscriber::__construct()
- 2.0.x src/EventSubscriber/EnsureSubscriber.php \Drupal\flysystem\EventSubscriber\EnsureSubscriber::__construct()
- 3.0.x src/EventSubscriber/EnsureSubscriber.php \Drupal\flysystem\EventSubscriber\EnsureSubscriber::__construct()
Constructs an EnsureSubscriber object.
Parameters
\Psr\Log\LoggerInterface $logger: The logger.
File
- src/
EventSubscriber/ EnsureSubscriber.php, line 41
Class
- EnsureSubscriber
- Event listener that listens to Flysystem ensure() calls.
Namespace
Drupal\flysystem\EventSubscriberCode
public function __construct(LoggerInterface $logger) {
$this->logger = $logger;
}