Skip to content

Commit

Permalink
Must extends ServiceProvider
Browse files Browse the repository at this point in the history
This class file must extends ServiceProvider and has register method to work
  • Loading branch information
cahsowan committed Mar 20, 2015
1 parent d88feaa commit 74ba89d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ The first argument of the `extend` method is the name of the driver and the seco
use League\Flysystem\Filesystem;
use Dropbox\Client as DropboxClient;
use League\Flysystem\Dropbox\DropboxAdapter;
use Illuminate\Support\ServiceProvider;

class DropboxFilesystemServiceProvider {
class DropboxFilesystemServiceProvider extends ServiceProvider {

public function boot()
{
Expand All @@ -139,5 +140,10 @@ The first argument of the `extend` method is the name of the driver and the seco
return new Filesystem(new DropboxAdapter($client));
});
}
public function register()
{
//
}

}

0 comments on commit 74ba89d

Please sign in to comment.