metagen_cs/README.md

285 B

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

Usage example:

$output = \metagen_cs\codegen(null, get_meta(), 
[
  'namespace' => 'BitGames.Autogen'
]);
foreach($output as $name => $text)
  file_put_contents($name, $text);