We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
useType
1 parent 82f50dc commit 0bc67f4Copy full SHA for 0bc67f4
1 file changed
docs/_docs/classes/codegen-file.md
@@ -34,6 +34,9 @@ You can set the namespace of the file by calling `->setNamespace($ns)`; you can
34
- `->useFunction(string $ns, ?string $as = null)`
35
- `->useConst(string $ns, ?string $as = null)`
36
37
+`useType` is for any kind of type; this includes `type`s, `newtype`s,
38
+enums, classes, and interfaces.
39
+
40
File Types
41
----------
42
0 commit comments