Arkade\S3\Model\MediaStorage\File\Storage\Synchronisation\Plugin::__construct PHP Method

__construct() public method

public __construct ( Arkade\S3\Model\MediaStorage\File\Storage\S3Factory $storageFactory, Magento\Framework\Filesystem $filesystem )
$storageFactory Arkade\S3\Model\MediaStorage\File\Storage\S3Factory
$filesystem Magento\Framework\Filesystem
    public function __construct(\Arkade\S3\Model\MediaStorage\File\Storage\S3Factory $storageFactory, Filesystem $filesystem)
    {
        $this->storageFactory = $storageFactory;
        $this->mediaDirectory = $filesystem->getDirectoryWrite(DirectoryList::MEDIA);
    }