function FileSystem::__construct
Same name in this branch
- 11.1.x vendor/php-tuf/composer-stager/src/Internal/Filesystem/Service/Filesystem.php \PhpTuf\ComposerStager\Internal\Filesystem\Service\Filesystem::__construct()
- 11.1.x vendor/composer/composer/src/Composer/Util/Filesystem.php \Composer\Util\Filesystem::__construct()
Constructs a new FileSystem.
Parameters
\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager.
\Drupal\Core\Site\Settings $settings: The site settings.
File
-
core/
lib/ Drupal/ Core/ File/ FileSystem.php, line 66
Class
- FileSystem
- Provides helpers to operate on files and stream wrappers.
Namespace
Drupal\Core\FileCode
public function __construct(StreamWrapperManagerInterface $stream_wrapper_manager, Settings $settings) {
$this->streamWrapperManager = $stream_wrapper_manager;
$this->settings = $settings;
}