mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
25 lines
311 B
PHP
25 lines
311 B
PHP
<?php
|
|
|
|
namespace App\Attribut;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
trait NameAttribut
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $name;
|
|
|
|
public function setName(string $name): void
|
|
{
|
|
$this->name = $name;
|
|
}
|
|
|
|
public function getName(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
}
|