init text entity
This commit is contained in:
parent
f18d958481
commit
accfa9d04f
1 changed files with 15 additions and 0 deletions
15
app/Text/Text.php
Normal file
15
app/Text/Text.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace App\Text;
|
||||
|
||||
class Text
|
||||
{
|
||||
public function __construct(
|
||||
private string $name,
|
||||
) {}
|
||||
|
||||
public function getName(): string
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue