You are here

public function FileSystemChecker::write in Simple OAuth (OAuth2) & OpenID Connect 8.3

Same name and namespace in other branches
  1. 8.4 src/Service/Filesystem/FileSystemChecker.php \Drupal\simple_oauth\Service\Filesystem\FileSystemChecker::write()
  2. 5.x src/Service/Filesystem/FileSystemChecker.php \Drupal\simple_oauth\Service\Filesystem\FileSystemChecker::write()

File

src/Service/Filesystem/FileSystemChecker.php, line 41

Class

FileSystemChecker
@internal

Namespace

Drupal\simple_oauth\Service\Filesystem

Code

public function write($uri, $content) {
  return @file_put_contents($uri, $content);
}