protected onCreate ( mixed[] $config = [] ) : League\Flysystem\AdapterInterface | ||
$config | mixed[] | |
return | League\Flysystem\AdapterInterface |
protected function onCreate($config = [])
{
$class = $this->getClass();
return new $class();
}