10 lines
258 B
Markdown
10 lines
258 B
Markdown
|
This package is used for code generation PHP meta structs using Twig templates
|
||
|
|
||
|
Usage example:
|
||
|
|
||
|
$twig = \metagen_php\get_twig();
|
||
|
file_put_contents('bundle.inc.php',
|
||
|
$twig->render("codegen_bundle.twig",
|
||
|
['meta' => $meta]
|
||
|
)
|
||
|
);
|