改名
This commit is contained in:
@@ -9,7 +9,7 @@ use Psr\Http\Message\ResponseInterface;
|
|||||||
use Server\SInterface\DownloadInterface;
|
use Server\SInterface\DownloadInterface;
|
||||||
|
|
||||||
|
|
||||||
class Response implements ResponseInterface
|
class Response implements ResponseInterface, \Server\Constrict\ResponseInterface
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,13 +21,6 @@ interface ResponseInterface extends \Psr\Http\Message\ResponseInterface
|
|||||||
public function file(string $path): DownloadInterface;
|
public function file(string $path): DownloadInterface;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param $responseData
|
|
||||||
* @return string|array|bool|int|null
|
|
||||||
*/
|
|
||||||
public function _toArray($responseData): string|array|null|bool|int;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $data
|
* @param $data
|
||||||
* @return ResponseInterface
|
* @return ResponseInterface
|
||||||
|
|||||||
Reference in New Issue
Block a user