public function LogFileManager::__construct in File Log 8
Same name in this branch
- 8 src/LogFileManager.php \Drupal\filelog\LogFileManager::__construct()
- 8 src/ProxyClass/LogFileManager.php \Drupal\filelog\ProxyClass\LogFileManager::__construct()
Same name and namespace in other branches
- 2.0.x src/LogFileManager.php \Drupal\filelog\LogFileManager::__construct()
LogFileManager constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config_factory service.
\Drupal\Core\File\FileSystemInterface $fileSystem: The file_system service.
File
- src/
LogFileManager.php, line 40
Class
- LogFileManager
- Provide file-handling methods for the logfile.
Namespace
Drupal\filelogCode
public function __construct(ConfigFactoryInterface $configFactory, FileSystemInterface $fileSystem) {
$this->config = $configFactory
->get('filelog.settings');
$this->fileSystem = $fileSystem;
}