Add NAME const
This commit is contained in:
@@ -8,6 +8,8 @@ use \Potter\Aware\AwareInterface;
|
|||||||
|
|
||||||
trait NameableTrait
|
trait NameableTrait
|
||||||
{
|
{
|
||||||
|
private const string NAME = 'name';
|
||||||
|
|
||||||
abstract public function get(string $key): mixed;
|
abstract public function get(string $key): mixed;
|
||||||
abstract public function has(string $key): bool;
|
abstract public function has(string $key): bool;
|
||||||
abstract protected function set(string $key, mixed $value): mixed;
|
abstract protected function set(string $key, mixed $value): mixed;
|
||||||
|
|||||||
Reference in New Issue
Block a user