变更
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Kiri\Di\Interface;
|
||||
|
||||
interface InjectParameterInterface
|
||||
{
|
||||
|
||||
|
||||
public function dispatch(): mixed;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Kiri\Di\Interface;
|
||||
|
||||
interface InjectPropertyInterface
|
||||
{
|
||||
|
||||
|
||||
public function dispatch(object $class, string $property): void;
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user