25 lines
484 B
PHP
25 lines
484 B
PHP
![]() |
<?php
|
||
|
|
||
|
namespace League\Flysystem\Plugin;
|
||
|
|
||
|
use League\Flysystem\FilesystemInterface;
|
||
|
use League\Flysystem\PluginInterface;
|
||
|
|
||
|
abstract class AbstractPlugin implements PluginInterface
|
||
|
{
|
||
|
/**
|
||
|
* @var FilesystemInterface
|
||
|
*/
|
||
|
protected $filesystem;
|
||
|
|
||
|
/**
|
||
|
* Set the Filesystem object.
|
||
|
*
|
||
|
* @param FilesystemInterface $filesystem
|
||
|
*/
|
||
|
public function setFilesystem(FilesystemInterface $filesystem)
|
||
|
{
|
||
|
$this->filesystem = $filesystem;
|
||
|
}
|
||
|
}
|