for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SaasReady\Http\Requests\ReleaseNote;
use SaasReady\Http\Requests\BaseFormRequest;
class ReleaseNoteIndexRequest extends BaseFormRequest
{
protected function getEndpointName(): string
return 'release-notes.index';
}
public function rules(): array
return [
'limit' => 'nullable|int|max:100',
];
public function getLimit(): int
return $this->input('limit') ?: 10;