Oara\Network\Publisher\Dgm::login PHP Метод

login() публичный Метод

public login ( $credentials )
$credentials
    public function login($credentials)
    {
        // Reading the different parameters.
        $this->_user = $credentials['user'];
        $this->_pass = $credentials['password'];
        $wsdlUrl = 'http://webservices.dgperform.com/dgmpublisherwebservices.cfc?wsdl';
        // Setting the apiClient.
        $this->_apiClient = new \SoapClient($wsdlUrl, array('encoding' => 'UTF-8', 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP | SOAP_COMPRESSION_DEFLATE, 'soap_version' => SOAP_1_1));
    }