You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
593 B
31 lines
593 B
<?php |
|
|
|
declare(strict_types=1); |
|
|
|
namespace OpenLegends\Core\Abstract\Card; |
|
|
|
abstract class Attribute implements \OpenLegends\Core\Interface\Card\Attribute |
|
{ |
|
private string $_name; |
|
private string $_description; |
|
|
|
public function setName(string $value): void |
|
{ |
|
$this->_name = $value; |
|
} |
|
|
|
public function getName(): string |
|
{ |
|
return $this->_name; |
|
} |
|
|
|
public function setDescription(string $value): void |
|
{ |
|
$this->_description = $value; |
|
} |
|
|
|
public function getDescription(): string |
|
{ |
|
return $this->_description; |
|
} |
|
} |