1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/guanguans-laravel-soar

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
OutputContract.php 654 Байты
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
guanguans Отправлено 07.05.2025 14:25 c0fec88
<?php
declare(strict_types=1);
/**
* Copyright (c) 2020-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-soar
*/
namespace Guanguans\LaravelSoar\Contracts;
use Illuminate\Console\Events\CommandFinished;
use Illuminate\Support\Collection;
use Symfony\Component\HttpFoundation\Response;
interface OutputContract
{
public function shouldOutput(CommandFinished|Response $outputter): bool;
public function output(Collection $scores, CommandFinished|Response $outputter): mixed;
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/guanguans-laravel-soar.git
git@api.gitlife.ru:oschina-mirror/guanguans-laravel-soar.git
oschina-mirror
guanguans-laravel-soar
guanguans-laravel-soar
master