metagen_cs/README.md

247 B

This package is used for code generation of C# meta structs using Twig templates

Usage example:

$code = \metagen_cs\codegen(null, get_meta(), 
[
  'namespace' => 'BitGames.Autogen'
]);
file_put_contents('bundle.cs', $code);