Files
Leantime/app/Core/Http/Responses/Contracts/LeantimeResponseInterface.php
wangruiguo d647428529
Some checks failed
Security Audit / Composer Security Audit (push) Has been cancelled
Security Audit / NPM Security Audit (push) Has been cancelled
Security Audit / CodeQL Analysis (push) Has been cancelled
OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
2026-09-03 18:49:20 +08:00

19 lines
718 B
PHP

<?php
namespace Leantime\Core\Http\Responses\Contracts;
use Illuminate\Contracts\Support\Responsable;
/**
* Marker contract for Leantime's first-class HTTP response types.
*
* Response types live in app/Core/Http/Responses and are returned directly from
* controllers; Laravel's router converts them to a Symfony Response via toResponse().
* Extending Laravel's Responsable keeps the behaviour fully framework-native while
* giving Leantime a single place to discover/centralise every response type it offers
* (e.g. ImageResponse today; a JsonRpcResponse, etc. can follow the same pattern).
*
* @see \Illuminate\Contracts\Support\Responsable
*/
interface LeantimeResponseInterface extends Responsable {}