for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Contracts\Auth\Access\Gate;
if (! function_exists('gate')) {
function gate(): Gate
{
return app(Gate::class);
}