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

Writer is not configurable enough #44

Closed
mb-joker opened this issue Jun 22, 2017 · 3 comments
Closed

Writer is not configurable enough #44

mb-joker opened this issue Jun 22, 2017 · 3 comments

Comments

@mb-joker
Copy link

All Builders depend on the writer which just has 2 options (indentation) to configure the coding style with which the class/method/function etc. is build. Best example from ClassBuilder $this->writer->writeln(" {\n")->indent(); the written line should definitely be configurable in the writer e.g. if you want to have the bracket in a new line: "\n{".

Apart from this, very nice generator, like it!

@gossi
Copy link
Collaborator

gossi commented Jun 23, 2017

You mean the \n to be configurable?

@mb-joker
Copy link
Author

my question was basicly the same as #49
and with your answer given: YES WE NEED PROFILES! :D
Everyone could create an own profile to match his/her coding style.

@gossi
Copy link
Collaborator

gossi commented Aug 4, 2018

See #54

@gossi gossi closed this as completed Aug 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants