src/UploaderManager.php
public function from($provider = null)
    {
        $provider = $provider ?: $this->getDefaultProvider();

        return new Uploader(
            $this->app->make('config'), $this->app->make('filesystem'), $this->createProviderInstance($provider)
        );
    }
public function from($provider = null)
    {
        $provider = $provider ?: $this->getDefaultProvider();

        return new Uploader(
            $this->app->make('config'), $this->app->make('filesystem'), $this->createProviderInstance($provider)
        );
    }
public function from ( $ provider = null ) { $ provider = $ provider ? : $ this -> getDefaultProvider ( ) ; return new Uploader ( $ this -> app -> make ( 'config' ) , $ this -> app -> make ( 'filesystem' ) , $ this -> createProviderInstance ( $ provider ) ) ; }
Specify where the file is provided.

@param  string|null  $provider
@return \Rymanalu\LaravelSimpleUploader\Contracts\Uploader
Specify where the file is provided .