public function SettingsFactory::__construct in Lockr 4.x
Same name and namespace in other branches
- 8.4 src/SettingsFactory.php \Drupal\Lockr\SettingsFactory::__construct()
- 8.3 src/SettingsFactory.php \Drupal\Lockr\SettingsFactory::__construct()
Constructs a new settings factory.
Parameters
ConfigFactoryInterface $config_factory: The simple config factory.
FileSystemInterface $file_system: The Drupal file system interface.
Settings $settings: The Drupal site settings.
File
- src/
SettingsFactory.php, line 47
Class
- SettingsFactory
- Creates settings objects for lockr clients.
Namespace
Drupal\lockrCode
public function __construct(ConfigFactoryInterface $config_factory, FileSystemInterface $file_system, Settings $settings) {
$this->configFactory = $config_factory;
$this->fileSystem = $file_system;
$this->settings = $settings;
}