[Flow] Loading packagist.org libraries correctly
Christian Müller
christian.mueller at typo3.org
Fri May 10 10:25:20 CEST 2013
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
More information about the Flow
mailing list