public function __construct($collection, $clientId = null) { if (!$clientId) { throw new Exception("Can't find client_id."); } parent::__construct($collection); $this->_connection = $this->_dbClientData((int) $clientId); $this->identityClientId = (int) $clientId; }
public function __construct($collection) { parent::__construct($collection); $this->_connection = $this->_dbAuthentcation(); }