src/db/orm/Worker.php
public function getConnector() {
        if (!$this->connector) {
            $mapping = $this->dao->getMapping();
            $this->connector = ConnectionPool::getConnector($mapping['connection']);
        }
        return $this->connector;
    }
public function getConnector() {
        if (!$this->connector) {
            $mapping = $this->dao->getMapping();
            $this->connector = ConnectionPool::getConnector($mapping['connection']);
        }
        return $this->connector;
    }
public function getConnector ( ) { if ( ! $ this -> connector ) { $ mapping = $ this -> dao -> getMapping ( ) ; $ this -> connector = ConnectionPool :: getConnector ( $ mapping [ 'connection' ] ) ; } return $ this -> connector ; }
Return the database adapter of the Worker's model class.

@return IConnector
Return the database adapter of the Worker s model class .