lib/DataSift/User.php
public function setApiClient($api_client)
    {
        if (! class_exists($api_client) || ! method_exists($api_client, 'call')) {
            throw new DataSift_Exception_InvalidData('Class "' . $api_client . '" does not exist');
        }

        $this->_api_client = $api_client;
    }
public function setApiClient($api_client)
    {
        if (! class_exists($api_client) || ! method_exists($api_client, 'call')) {
            throw new DataSift_Exception_InvalidData('Class "' . $api_client . '" does not exist');
        }

        $this->_api_client = $api_client;
    }
public function setApiClient ( $ api_client ) { if ( ! class_exists ( $ api_client ) || ! method_exists ( $ api_client , 'call' ) ) { throw new DataSift_Exception_InvalidData ( 'Class "' . $ api_client . '" does not exist' ) ; } $ this -> _api_client = $ api_client ; }
Set the class to use when calling the API

@param string $api_client The class to use.

@return void
@throws DataSift_Exception_InvalidData
Set the class to use when calling the API