Hi,

Am 12.05.13 02:20, schrieb Norman Sand:
>     /**
>      * projectsRepository
>      *
>      * @var \TYPO3\yhproject\Domain\Repository\ProjectsRepository
>      * @inject
>      */
>     protected $projectsRepository;
>     protected $customersRepository;
> 
>     /*
>     * @param Tx_Yhproject_Domain_Repository_customersRepository
> $customersRepository
>     * @return void
>     */
>     public function
> injectCustomersRepository(Tx_Yhproject_Domain_Repository_customersRepository
> $customersRepository) {
>         $this->customersRepository = $customersRepository;
>     }

Sicher, dass es diese Klasse gibt
Tx_Yhproject_Domain_Repository_customersRepository? Entweder nutzt dein
Projekt Namespaces oder nicht, aber keinesfalls gemischt.
Schmeiß die injectCustomersRepository Methode raus und gib protected
$customersRepository; die richtigen Annotations.

HTH,
Andreas
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an