app/Http/Requests/AccessControll/StoreRoleRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'name' => 'required|string',
            'display_name'=>'required|string' ,
            'description'=>'string'
        ];
    }
public function rules ( ) { return [ 'name' => 'required|string' , 'display_name' => 'required|string' , 'description' => 'string' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .