public function HtaccessWriter::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/File/HtaccessWriter.php \Drupal\Core\File\HtaccessWriter::__construct()
Htaccess constructor.
Parameters
\Psr\Log\LoggerInterface $logger: The logger.
\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager.
File
- core/
lib/ Drupal/ Core/ File/ HtaccessWriter.php, line 39
Class
- HtaccessWriter
- Provides functions to manage Apache .htaccess files.
Namespace
Drupal\Core\FileCode
public function __construct(LoggerInterface $logger, StreamWrapperManagerInterface $stream_wrapper_manager) {
$this->logger = $logger;
$this->streamWrapperManager = $stream_wrapper_manager;
}