[Feature Request] Export to ORM (Doctrine2) auto-generates getters and setters

0 votes
asked Feb 16, 2013 in Feature Request by agemmell (170 points)
edited Nov 18, 2013 by Martin Freki Stradej

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!

commented Feb 16, 2013 by admin (1,050 points)
edited Jul 9, 2014 by Martin Freki Stradej

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.

commented Mar 14, 2013 by renaatdemuynck (840 points)

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].

commented Mar 14, 2013 by agemmell (170 points)

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
answered Jul 30, 2014 by Martin Freki Stradej Skipper developer (74,840 points)
 
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.

...