[TYPO3-dev] Is there any command line utility available to make domain models and repositories?

Jigal van Hemert jigal.van.hemert at typo3.org
Tue Aug 25 15:54:01 CEST 2015


Hi,

On 25/08/2015 10:52, Hafiz Usman Ahmad wrote:
> Is there any command line utility available to make domain models and
> repositories? to write lot of get set is very time consuming.

Using a decent IDE will save you a lot of time. For example in PhpStorm 
(which I happen to use) it's a matter of putting the cursor in the 
property, ALT+Insert and then selecting from the 'Generate' menu "Getter 
and Setter". The methods are automatically generated with any class/type 
hints, PhpDoc, etcetera.

An IDE will also help you find parent classes, function defintiions, 
syntax errors, missing parameters, unused variables, and prevent you 
from making typos by supplying autocomplete functionality.

Freeware IDEs such as NetBeans will probably have similar functionality 
(if not, the few Euros a commercial IDE will cost you will be money well 
spent).

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list