for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SET\Providers;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
//
}
* Register any application services.
public function register()
if ($this->app->environment() == 'local') {
$this->app->register('Laracasts\Generators\GeneratorsServiceProvider');
private function nullToEmptyString($oldValue, $newValue)
return $oldValue === null && $newValue == '';