[Flow] Loading packagist.org libraries correctly
Steffen Wickham
steffen at gaming-inc.de
Sun May 12 02:19:25 CEST 2013
Hi Christian,
Hi Rens,
thank you for your responses! :)
I stick on my solution until Flow supports non PSR-0 libraries as well.
No problem at all for me. :)
Cheers,
Steffen
Am 10.05.2013 10:25, schrieb Christian Müller:
> Hi Steffen,
>
> On 10.05.13 01:40, Steffen Wickham wrote:
>> Currently I include the base file and create a new instance manually, as
>> the object manager can't find a registered class for it. But how can I
>> create an instance of its main class "Mobile_Detect" in the correct way?
>> Is it possible through Flow even the lib doesn't use namespaces?
> I think for not namespaced / PSR-0 compatible packages Flow will not do
> reflection during compile but you can use the classes normally with "new
> Mobile_Detect", nothing special here. I guess injection won't work but
> give it a try if you want.
>
> Cheers,
> Christian
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
More information about the Flow
mailing list