create ContainerInterface
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Potter\Container;
|
||||||
|
|
||||||
|
use \Psr\Container\ContainerInterface as BaseContainerInterface;
|
||||||
|
|
||||||
|
interface ContainerInterface extends BaseContainerInterface
|
||||||
|
{
|
||||||
|
public function get(string $key): mixed;
|
||||||
|
public function has(string $key): bool;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user