TwitterOAuth\Auth\AuthAbstract::__construct PHP Méthode

__construct() public méthode

Authentication Base
public __construct ( array $credentials, TwitterOAuth\Serializer\SerializerInterface $serializer )
$credentials array Credentials Array
$serializer TwitterOAuth\Serializer\SerializerInterface Output Serializer
    public function __construct(array $credentials, SerializerInterface $serializer)
    {
        $this->validateCredentials($credentials);
        $this->credentials = $credentials;
        $this->serializer = $serializer;
        $this->curl = new Curl();
        unset($credentials, $serializer);
    }