Add methods
This commit is contained in:
@@ -8,5 +8,8 @@ use \Potter\Aware\AwareInterface;
|
|||||||
|
|
||||||
interface NameableInterface extends AwareInterface
|
interface NameableInterface extends AwareInterface
|
||||||
{
|
{
|
||||||
|
public function getName(): string;
|
||||||
|
public function hasName(): bool;
|
||||||
|
public function withName(string $name): self;
|
||||||
|
public function withoutName(): self;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user