dto for the create method of node
This commit is contained in:
parent
c8f5f1343e
commit
e55133ceac
1 changed files with 10 additions and 0 deletions
10
app/Node/CreateNodeDto.php
Normal file
10
app/Node/CreateNodeDto.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace App\Node;
|
||||
|
||||
class CreateNodeDto
|
||||
{
|
||||
public function __construct(
|
||||
public string $title,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue