public function SettingsFactory::__construct in Lockr 8.3
Same name and namespace in other branches
- 8.4 src/SettingsFactory.php \Drupal\Lockr\SettingsFactory::__construct()
- 4.x 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;
}