for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: Odeen
* Date: 2016/5/8
* Time: 23:14.
*/
namespace Caikeal\LaravelSms\sms;
use Illuminate\Support\ServiceProvider;
class SmsServiceProvider extends ServiceProvider
{
* Bootstrap any application services.
*
* @return void
public function boot()
$this->publishes([
__DIR__.'/../config/sms.php' => config_path('sms.php'),
]);
}
* Register any application services.
public function register()
$this->mergeConfigFrom(
__DIR__.'/../config/sms.php', 'sms'
);
$this->app->singleton('Sms', function ($app) {
$app
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$app = new Sms(config('sms.default'));
return $app;
});
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.