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