$this->convertBoolean($this->get('enabled')), ]; } /** * The rules that the incoming request must be matched against. */ public function rules(): array { return [ 'enabled' => 'nullable|boolean', ]; } }