Skip to content

Commit

Permalink
Update crud.stub
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Dec 8, 2024
1 parent bb11ebf commit f063d8b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Generator/Stubs/controllers/api/crud.stub
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ use Prettus\Repository\Exceptions\RepositoryException;

class {{class-name}} extends {{base-controller}}
{
public function __construct(
private readonly Create{{model}}Action $create{{model}}Action,
private readonly Update{{model}}Action $update{{model}}Action,
private readonly Find{{model}}ByIdAction $find{{model}}ByIdAction,
private readonly List{{models}}Action $list{{models}}Action,
private readonly Delete{{model}}Action $delete{{model}}Action,
) {
}

/**
* @throws InvalidTransformerException
* @throws CreateResourceFailedException
Expand Down

0 comments on commit f063d8b

Please sign in to comment.