dto for passing to create method of text repo
This commit is contained in:
parent
a95a8838f6
commit
0998c70160
1 changed files with 10 additions and 0 deletions
10
app/Text/CreateTextDto.php
Normal file
10
app/Text/CreateTextDto.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace App\Text;
|
||||
|
||||
class CreateTextDto
|
||||
{
|
||||
public function __construct(
|
||||
public string $name,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue