$username
$username :
Adds specified curl auth to all requests sent from a client. Defaults to CURLAUTH_BASIC if none supplied.
getSubscribedEvents() : array
Returns an array of event names this subscriber wants to listen to.
The array keys are event names and the value can be:
For instance:
The event names to listen to
onRequestCreate(\Guzzle\Common\Event $event)
Add basic auth
\Guzzle\Common\Event | $event |