global variable
$thumbnailUrlFactory = Thumbor\Url\BuilderFactory::construct(
'http://thumbor.example.com',
'secret'
);
elsewhere in your app
echo $thumbnailUrlFactory
->urlFrom('http://example.com/llamas.jpg')
->fitIn(320, 240)
etc
;