This commit is contained in:
2023-10-24 17:22:28 +08:00
parent cab51a97a9
commit 3ce9ee662a
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Kiri\Di\Inject;
use Exception;
use Kiri\Di\Container;
use Kiri\Di\Interface\InjectParameterInterface;
@@ -23,7 +24,7 @@ class ContainerParams implements InjectParameterInterface
/**
* @return mixed|null
* @throws \Exception
* @throws Exception
*/
public function dispatch(string $class, string $method): mixed
{
+5
View File
@@ -7,6 +7,11 @@ interface InjectPropertyInterface
{
/**
* @param object $class
* @param string $property
* @return void
*/
public function dispatch(object $class, string $property): void;
}