[FLOW3-general] using libraries via composer

Karsten Dambekalns karsten at typo3.org
Thu Nov 29 19:40:47 CET 2012


Hi.

On 28.11.12 17:09, Thomas Mammitzsch wrote:
> ok, good hint with the leading slash. Looks like that now:
> 
> use \Guzzle\Http\Client;

No, use statements are always using a fully qualified classname, so
leave out the leading backslash.

The leading backslash is only needed to qualify a classname if no "use"
is used.

Regards,
Karsten
-- 
Karsten Dambekalns
TYPO3 Core Developer, Neos / Flow Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the FLOW3-general mailing list