This commit is contained in:
2023-04-15 23:32:00 +08:00
parent 06e2b691bb
commit eebd01bcc5
9 changed files with 404 additions and 349 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace Kiri\Di\Interface;
interface InjectParameterInterface
{
public function dispatch(): mixed;
}
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace Kiri\Di\Interface;
interface InjectPropertyInterface
{
public function dispatch(object $class, string $property): void;
}
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Kiri\Di\Interface;
use Psr\Http\Message\ResponseInterface;
interface ResponseEmitter
{
/**
* @param ResponseInterface $proxy
* @param object $response
* @return void
*/
public function sender(ResponseInterface $proxy, object $response): void;
}