AbstractPlugin.php 484 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace League\Flysystem\Plugin;
  3. use League\Flysystem\FilesystemInterface;
  4. use League\Flysystem\PluginInterface;
  5. abstract class AbstractPlugin implements PluginInterface
  6. {
  7. /**
  8. * @var FilesystemInterface
  9. */
  10. protected $filesystem;
  11. /**
  12. * Set the Filesystem object.
  13. *
  14. * @param FilesystemInterface $filesystem
  15. */
  16. public function setFilesystem(FilesystemInterface $filesystem)
  17. {
  18. $this->filesystem = $filesystem;
  19. }
  20. }