You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
663 B
35 lines
663 B
<?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');
|
|
}
|
|
|
|
}
|
|
|