for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Gamer\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Gamer\Services\GamerService;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
protected $service;
public function __construct()
$this->service = app()->make(GamerService::class);
}