Extend ContainerInterface
This commit is contained in:
@@ -5,8 +5,9 @@ declare(strict_types=1);
|
|||||||
namespace Potter\Aware;
|
namespace Potter\Aware;
|
||||||
|
|
||||||
use \Potter\Cloneable\CloneableInterface;
|
use \Potter\Cloneable\CloneableInterface;
|
||||||
|
use \Psr\Container\ContainerInterface;
|
||||||
|
|
||||||
interface AwareInterface extends CloneableInterface
|
interface AwareInterface extends CloneableInterface, ContainerInterface
|
||||||
{
|
{
|
||||||
public function get(string $key): mixed;
|
public function get(string $key): mixed;
|
||||||
public function has(string $key): bool;
|
public function has(string $key): bool;
|
||||||
|
|||||||
Reference in New Issue
Block a user