function FileRepository::__construct

File

core/modules/file/src/FileRepository.php, line 20

Class

FileRepository
Provides a file entity repository.

Namespace

Drupal\file

Code

public function __construct(protected FileSystemInterface $fileSystem, protected StreamWrapperManagerInterface $streamWrapperManager, protected EntityTypeManagerInterface $entityTypeManager, protected ModuleHandlerInterface $moduleHandler, protected FileUsageInterface $fileUsage, protected AccountInterface $currentUser) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.