Logo
Explore Help
Sign In
kor-elf/service-captcha
1
0
Fork 0
You've already forked service-captcha
Code Issues Pull Requests Packages Projects Releases 5 Wiki Activity
Files
c18e7e54b7b9fd8a6805c67ddf8fd9abc19211f3
service-captcha/app/Contracts/ServiceResult.php
Leonid Nikitin 00177a134e Introduced ServiceResult and ServiceResultError interfaces, and respective classes with related methods. These changes were necessary to add and handle service results throughout the app. We now have a standard way to return and handle both successes and errors from our services. This leads to cleaner, clearer, and more maintainable code.
2023-06-28 14:36:51 +06:00

10 lines
125 B
PHP
Raw Blame History

<?php
declare(strict_types=1);
namespace App\Contracts;
interface ServiceResult
{
public function isSuccess(): bool;
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses