private function call() {

        if(null === $this -> driver) {
            return trigger_error('Driver is not set. Set the driver with the setDriver() method', E_USER_ERROR);
        }

        if(null === $this -> driverInstance) {
        	$this -> driverInstance = new $this -> driver();
        }

        return $this -> driverInstance;
    }
private function call() {

        if(null === $this -> driver) {
            return trigger_error('Driver is not set. Set the driver with the setDriver() method', E_USER_ERROR);
        }

        if(null === $this -> driverInstance) {
        	$this -> driverInstance = new $this -> driver();
        }

        return $this -> driverInstance;
    }
private function call ( ) { if ( null === $ this -> driver ) { return trigger_error ( 'Driver is not set. Set the driver with the setDriver() method' , E_USER_ERROR ) ; } if ( null === $ this -> driverInstance ) { $ this -> driverInstance = new $ this -> driver ( ) ; } return $ this -> driverInstance ; }
Check if driver is set and returns it
@return mixed
Check if driver is set and returns it