for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WebDevEtc\BlogEtc\Requests;
use Illuminate\Foundation\Http\FormRequest;
use WebDevEtc\BlogEtc\Helpers;
use WebDevEtc\BlogEtc\Interfaces\BaseRequestInterface;
/**
* Class BaseRequest.
*/
abstract class BaseAdminRequest extends FormRequest implements BaseRequestInterface
{
* Determine if the user is authorized to make this request.
*
* @return bool
public function authorize()
return Helpers::hasAdminGateAccess();
}