|
|
@ -1,35 +0,0 @@ |
|
|
|
<?php namespace Sensory5\Shortcode\Classes; |
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider; |
|
|
|
|
|
|
|
class ShortcodeServiceProvider extends ServiceProvider |
|
|
|
{ |
|
|
|
/** |
|
|
|
* Indicates if loading of the provider is deferred. |
|
|
|
* |
|
|
|
* @var bool |
|
|
|
*/ |
|
|
|
protected $defer = false; |
|
|
|
|
|
|
|
/** |
|
|
|
* Register the service provider. |
|
|
|
*/ |
|
|
|
public function register() |
|
|
|
{ |
|
|
|
$this->app['shortcode'] = $this->app->share(function ($app) { |
|
|
|
return new Shortcode(); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Get the services provided by the provider. |
|
|
|
* |
|
|
|
* @return array |
|
|
|
*/ |
|
|
|
public function provides() |
|
|
|
{ |
|
|
|
return array('shortcode'); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|