public function getConnection()
    {
        if( null === $this->connection && null !== $this->connectionFactory ) {
            $this->connection = $this->connectionFactory->createMysqli();
        }
        return $this->connection;
    }
public function getConnection()
    {
        if( null === $this->connection && null !== $this->connectionFactory ) {
            $this->connection = $this->connectionFactory->createMysqli();
        }
        return $this->connection;
    }
public function getConnection ( ) { if ( null === $ this -> connection && null !== $ this -> connectionFactory ) { $ this -> connection = $ this -> connectionFactory -> createMysqli ( ) ; } return $ this -> connection ; }
Exposes the local connection object

@return mysqli
Exposes the local connection object