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.
yanzong/vendor/songshenzong/support/src/StringsServiceProvider.php

37 lines
714 B

<?php
namespace Songshenzong\Support;
use Illuminate\Support\ServiceProvider;
/**
* Class StringsServiceProvider
*
* @package Songshenzong\Support
*/
class StringsServiceProvider extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app->singleton(
'Strings',
static function () {
return new Strings();
}
);
$this->app->alias('Strings', StringsFacade::class);
}
}