[TYPO3-mvc] could not analyse class:clientRepository maybe not loaded error in 6.x

Domi djgarms at gmail.com
Wed Apr 3 02:07:23 CEST 2013


Hi Xavier
>> This is not working and I'll get an the error. So I need the full
>> qualified name in the comments and everything works as expected. Is this
>> intend to be like this?
>
> AFAIK the code is parsing the PhpDoc to extract the name of the class to
> be injected and is using the Reflection PHP object to do that. With
> "use", you have a non fully qualified class name and it would force the
> injector to manually parse the enclosing PHP file itself to get a list
> of "use" statements, test each of them in turn until finding the correct
> FQCN. I guess, this is just too much work (could cost quite much even if
> cached in the end) and was simply not implemented.

Thanks for this info, I'll try to adjust my IDE not using alias inside 
of PhpDoc

Cheers,
Dominic


More information about the TYPO3-project-typo3v4mvc mailing list