public function getClient()
    {
        if (!$this->client instanceof Client) {
            $this->client = new Client(
                $this->config->get('amocrm.domain'),
                $this->config->get('amocrm.login'),
                $this->config->get('amocrm.hash')
            );
        }

        return $this->client;
    }
public function getClient()
    {
        if (!$this->client instanceof Client) {
            $this->client = new Client(
                $this->config->get('amocrm.domain'),
                $this->config->get('amocrm.login'),
                $this->config->get('amocrm.hash')
            );
        }

        return $this->client;
    }
public function getClient ( ) { if ( ! $ this -> client instanceof Client ) { $ this -> client = new Client ( $ this -> config -> get ( 'amocrm.domain' ) , $ this -> config -> get ( 'amocrm.login' ) , $ this -> config -> get ( 'amocrm.hash' ) ) ; } return $ this -> client ; }
Get the AmoCRM client instance.

@return \AmoCRM\Client
Get the AmoCRM client instance .