public function S3fsService::__construct in S3 File System 8.3
Same name and namespace in other branches
- 4.0.x src/S3fsService.php \Drupal\s3fs\S3fsService::__construct()
Constructs an S3fsService object.
Parameters
\Drupal\Core\Database\Connection $connection: The new database connection object.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory object.
\Drupal\Component\DateTime\TimeInterface $time: An object to obtain the system time.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- src/
S3fsService.php, line 77
Class
- S3fsService
- Defines a S3fsService service.
Namespace
Drupal\s3fsCode
public function __construct(Connection $connection, ConfigFactoryInterface $config_factory, TimeInterface $time, ModuleHandlerInterface $module_handler) {
$this->connection = $connection;
$this->configFactory = $config_factory;
$this->time = $time;
$this->moduleHandler = $module_handler;
}