for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Dmitry Gladyshev <[email protected]>
* @date 16/08/2016 19:48
*/
namespace Yandex\Direct;
* Class Credentials
* @package Yandex\Direct\Credentials
final class Credentials implements CredentialsInterface
{
* @var string
protected $token;
protected $masterToken;
protected $login;
* Credentials constructor.
*
* @param string $login
* @param string $token
* @param string $masterToken
public function __construct($login = '', $token = '', $masterToken = '')
$this->login = $login;
$this->token = $token;
$this->masterToken = $masterToken;
}
* @return string
public function getMasterToken()
return $this->masterToken;
public function getToken()
return $this->token;
public function getLogin()
return $this->login;