CertRequest.php 321 B

1234567891011121314151617
  1. <?php
  2. namespace App\Http\Requests\Admin;
  3. use Illuminate\Foundation\Http\FormRequest;
  4. class CertRequest extends FormRequest
  5. {
  6. public function rules()
  7. {
  8. return [
  9. 'domain' => 'required|string',
  10. 'key' => 'string|nullable',
  11. 'pem' => 'string|nullable',
  12. ];
  13. }
  14. }