This commit is contained in:
2021-09-18 16:54:39 +08:00
parent a6f056b8c8
commit 8f3b856bd6
63 changed files with 232 additions and 1585 deletions
+33
View File
@@ -0,0 +1,33 @@
<?php
declare(strict_types=1);
/**
* Created by PhpStorm.
* User: whwyy
* Date: 2018/4/8 0008
* Time: 17:29
*/
namespace Http\Handler\Formatter;
/**
* Interface IFormatter
* @package Kiri\Kiri\Http\Formatter
*/
interface IFormatter
{
/**
* @param $context
* @return static
*/
public function send($context): static;
/**
* @return mixed
*/
public function getData(): mixed;
public function clear(): void;
}