DummyRemoteReadOnlyStreamWrapper.php in Drupal 9
File
core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteReadOnlyStreamWrapper.php
View source
<?php
namespace Drupal\file_test\StreamWrapper;
use Drupal\Core\StreamWrapper\StreamWrapperInterface;
class DummyRemoteReadOnlyStreamWrapper extends DummyRemoteStreamWrapper {
public static function getType() {
return StreamWrapperInterface::READ_VISIBLE;
}
public function getName() {
return t('Dummy remote read-only files');
}
public function getDescription() {
return t('Dummy remote read-only stream wrapper for testing.');
}
}