protected function ResourceServer::fileSystem in Simple OAuth (OAuth2) & OpenID Connect 5.x
Lazy loads the file system.
Return value
\Drupal\Core\File\FileSystemInterface The file system service.
File
- src/
Server/ ResourceServer.php, line 78
Class
- ResourceServer
- The resource server.
Namespace
Drupal\simple_oauth\ServerCode
protected function fileSystem() : FileSystemInterface {
if (!isset($this->fileSystem)) {
$this->fileSystem = \Drupal::service('file_system');
}
return $this->fileSystem;
}