Du Diu nur einmal ein Cat Objekt mit new erzeugst, wird immer das selbe
Objekt hinzu gefügt. Ergo: Die Zeile mit new muss auch in die Schleife
mit rein!
Grüße,
Till
On 02/07/2014 09:40 PM, arianesardinas wrote:
> Hallo Leute
>
> ich möchte die methode add in eine schleife ausführen.
>
>
> in cont
Hallo Leute
ich möchte die methode add in eine schleife ausführen.
in controller:
/**
* occupationcategoryRepository
*
* @var \TYPO3\JobsDfu\Domain\Repository\OccupationcategoryRepository
* @inject
*/
protected $occupationcategoryRepository;