/** * {@inheritDoc} */ public function __construct(HttpAdapterInterface $adapter, $username, $password, $accountRef) { parent::__construct($adapter); $this->username = $username; $this->password = $password; $this->accountRef = $accountRef; }
/** * {@inheritDoc} */ public function __construct(HttpAdapterInterface $adapter, $api_key, $api_secret, $international_prefix = '+33') { parent::__construct($adapter); $this->api_key = $api_key; $this->api_secret = $api_secret; $this->international_prefix = $international_prefix; }
/** * {@inheritDoc} */ public function __construct(HttpAdapterInterface $adapter, $accountSid, $authToken, $international_prefix = '+33') { parent::__construct($adapter); $this->accountSid = $accountSid; $this->authToken = $authToken; $this->international_prefix = $international_prefix; }
/** * {@inheritDoc} */ public function __construct(HttpAdapterInterface $adapter, $accessToken, $internationalPrefix = '+43') { parent::__construct($adapter); $this->accessToken = $accessToken; $this->internationalPrefix = $internationalPrefix; }
/** * {@inheritDoc} * * @param object $adapter adapter * @param string $international_prefix international prefix * * @return SwisscomProvider */ public function __construct($adapter, $international_prefix = '+41') { parent::__construct($adapter); $this->international_prefix = $international_prefix; }