PluginStub.php 415 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace League\Flysystem\Stub;
  3. use League\Flysystem\FilesystemInterface;
  4. use League\Flysystem\PluginInterface;
  5. class PluginStub implements PluginInterface
  6. {
  7. public function setFilesystem(FilesystemInterface $filesystem)
  8. {
  9. return $this;
  10. }
  11. public function getMethod()
  12. {
  13. return 'pluginMethod';
  14. }
  15. public function handle()
  16. {
  17. return 'handled';
  18. }
  19. }