24 lines
419 B
PHP
24 lines
419 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\OpenBanking;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class ConnectIndexaCapitalRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* @return array<string, array<mixed>>
|
|
*/
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'api_token' => ['required', 'string', 'min:10'],
|
|
];
|
|
}
|
|
}
|