Skip to content

Commit

Permalink
Defereing the load of the service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmoraes committed Mar 20, 2015
1 parent d9b56b0 commit 89fa632
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/PdfServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

class PdfServiceProvider extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/

/**
* Register the classes on the IoC container
*
Expand All @@ -26,8 +32,13 @@ public function register()
});
}

/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return ['pdf'];
return ['Vsmoraes\Pdf\Pdf'];
}
}

0 comments on commit 89fa632

Please sign in to comment.