Extend Cloneable

This commit is contained in:
2025-10-25 12:08:09 -04:00
parent 67255faf77
commit 5fa1832928
2 changed files with 6 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;