Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for custom template (CLI and WebUI) #161

Open
schmunk42 opened this issue Jul 5, 2016 · 0 comments
Open

add test for custom template (CLI and WebUI) #161

schmunk42 opened this issue Jul 5, 2016 · 0 comments
Labels

Comments

@schmunk42
Copy link
Owner

example code

'generators' => [
    // generator name
    'giiant-model' => [
        //generator class
        'class'     => 'schmunk42\giiant\generators\model\Generator',
        //setting for out templates
        'templates' => [
            // template name => path to template
            'oemodel' =>
                '@app/oetemplates/model/default',
        ]
    ]
],

see also http://stackoverflow.com/q/38200950/291573

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant