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