123456789101112131415161718192021222324252627282930313233 |
- <?php namespace Ixudra\Curl;
- use Illuminate\Support\ServiceProvider;
- class CurlServiceProvider extends ServiceProvider {
- /**
- * @var bool
- */
- protected $defer = false;
- /**
- * @return void
- */
- public function register()
- {
- $this->app->singleton('Curl', function () {
- return new CurlService();
- }
- );
- }
- /**
- * @return array
- */
- public function provides()
- {
- return array('Curl');
- }
- }
|