metagen_cs/README.md

11 lines
247 B
Markdown
Raw Permalink Normal View History

2022-12-07 17:25:44 +03:00
This package is used for code generation of C# meta structs using Twig templates
Usage example:
2024-03-27 12:20:29 +03:00
$code = \metagen_cs\codegen(null, get_meta(),
[
'namespace' => 'BitGames.Autogen'
]);
file_put_contents('bundle.cs', $code);