public function FlysystemRoutes::__construct in Flysystem 8
Same name and namespace in other branches
- 3.x src/Routing/FlysystemRoutes.php \Drupal\flysystem\Routing\FlysystemRoutes::__construct()
- 2.0.x src/Routing/FlysystemRoutes.php \Drupal\flysystem\Routing\FlysystemRoutes::__construct()
- 3.0.x src/Routing/FlysystemRoutes.php \Drupal\flysystem\Routing\FlysystemRoutes::__construct()
Constructs a new FlysystemRoutes object.
Parameters
\Drupal\flysystem\FlysystemFactory $factory: The Flysystem factory.
\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager service.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- src/
Routing/ FlysystemRoutes.php, line 49
Class
- FlysystemRoutes
- Defines a route subscriber to register a url for serving image styles.
Namespace
Drupal\flysystem\RoutingCode
public function __construct(FlysystemFactory $factory, StreamWrapperManagerInterface $stream_wrapper_manager, ModuleHandlerInterface $module_handler) {
$this->factory = $factory;
$this->streamWrapperManager = $stream_wrapper_manager;
$this->moduleHandler = $module_handler;
}