for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Containers\Authentication\UI\API\Requests;
use App\Port\Request\Abstracts\Request;
/**
* Class UserLogoutRequest.
*
* @author Mahmoud Zalt <[email protected]>
*/
class UserLogoutRequest extends Request
{
* The required Permissions to proceed with this request.
* @var array
protected $access = [
'permission' => null
];
* Id's that needs decoding before applying the validation rules.
protected $decode = [
* URL parameters (`/stores/999/items`) that needs to apply validation rules on.
protected $applyRulesOn = [
* Get the validation rules that apply to the request.
* @return array
public function rules()
return [
}
* Determine if the user is authorized to make this request.
* @return bool
public function authorize()
return $this->hasAccess();