for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
*
* (c) Muhideen Mujeeb Adeoye <[email protected]>
*/
namespace Mujhtech\SendChamp;
use Illuminate\Support\ServiceProvider;
class SendChampServiceProvider extends ServiceProvider
{
* Indicates if loading of the provider is deferred.
* @var bool
/**
* Register services.
* @return void
public function register()
//
$this->app->bind('laravel-sendchamp', function () {
return new SendChamp;
});
}
* Publishes all the config file this package needs to function
public function boot()
$config = realpath(__DIR__.'/../config/sendchamp.php');
$this->publishes([
$config => config_path('sendchamp.php'),
config_path
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$config => /** @scrutinizer ignore-call */ config_path('sendchamp.php'),
]);
* Get the services provided by the provider
* @return array
public function provides()
return ['laravel-sendchamp'];