0 votes

When exporting to Doctrine2 PHP annotation files, please also create the getter and setter methods for the class properties. I think this is already on your roadmap, but I just want to officially request it!

in Feature Request by (170 points)
edited by

Edit: Due to the change of the planned features, getters and setters are no longer to be included as a core feature of ORM Designer/Skipper.

Inspired by the example from renaatdemuynck below, we have prepared tutorial how to configure Skipper External tools to generate getters and setters by one click.

In the mean time, you could could add an entry under External Tools to let Doctrine generate getters and setters. See this example. Just change Arguments to orm:generate-entities --update-entities="true" --generate-methods="true" [path to your entities].

Nice trick! I'm currently doing that step manually anyway so that's a good way to do it in one click :)

1 Answer

0 votes
Best answer

Due to the change of the planned features, getters and setters are no longer to be included as a core feature of ORM Designer/Skipper.

Inspired by the example from renaatdemuynck below, we have prepared tutorial how to configure Skipper External tools to generate getters and setters by one click.

by Skipper developer (74.8k points)