metagen_cs/README.md

14 lines
323 B
Markdown
Raw 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:
$twig = \metagen_cs\get_twig();
file_put_contents('bundle.cs',
$twig->render("codegen_bundle.twig",
[
'namespace' => 'BitGames.Autogen',
'meta' => get_meta()
]
)
);