public function getVxPDO($name = 'default') {
		
		if(!array_key_exists($name, $this->vxPDOInstances)) {

			if(empty($this->config->vxpdo) || !array_key_exists($name, $this->config->vxpdo)) {
				throw new ApplicationException(sprintf("vxPDO configuration for '%s' not found.", $name));
			}
			
			$dsConfig = $this->config->vxpdo[$name];

			$this->vxPDOInstances[$name] = DatabaseInterfaceFactory::create(
				$dsConfig->driver,
				[
					'dsn'		=> $dsConfig->dsn,
					'host'		=> $dsConfig->host,
					'port'		=> $dsConfig->port,
					'dbname'	=> $dsConfig->dbname,
					'user'		=> $dsConfig->user,
					'password'	=> $dsConfig->password,
					'name'		=> $name
				]
			);
		}

		return $this->vxPDOInstances[$name];
		
	}
public function getVxPDO($name = 'default') {
		
		if(!array_key_exists($name, $this->vxPDOInstances)) {

			if(empty($this->config->vxpdo) || !array_key_exists($name, $this->config->vxpdo)) {
				throw new ApplicationException(sprintf("vxPDO configuration for '%s' not found.", $name));
			}
			
			$dsConfig = $this->config->vxpdo[$name];

			$this->vxPDOInstances[$name] = DatabaseInterfaceFactory::create(
				$dsConfig->driver,
				[
					'dsn'		=> $dsConfig->dsn,
					'host'		=> $dsConfig->host,
					'port'		=> $dsConfig->port,
					'dbname'	=> $dsConfig->dbname,
					'user'		=> $dsConfig->user,
					'password'	=> $dsConfig->password,
					'name'		=> $name
				]
			);
		}

		return $this->vxPDOInstances[$name];
		
	}
public function getVxPDO ( $ name = 'default' ) { if ( ! array_key_exists ( $ name , $ this -> vxPDOInstances ) ) { if ( empty ( $ this -> config -> vxpdo ) || ! array_key_exists ( $ name , $ this -> config -> vxpdo ) ) { throw new ApplicationException ( sprintf ( "vxPDO configuration for '%s' not found." , $ name ) ) ; } $ dsConfig = $ this -> config -> vxpdo [ $ name ] ; $ this -> vxPDOInstances [ $ name ] = DatabaseInterfaceFactory :: create ( $ dsConfig -> driver , [ 'dsn' => $ dsConfig -> dsn , 'host' => $ dsConfig -> host , 'port' => $ dsConfig -> port , 'dbname' => $ dsConfig -> dbname , 'user' => $ dsConfig -> user , 'password' => $ dsConfig -> password , 'name' => $ name ] ) ; } return $ this -> vxPDOInstances [ $ name ] ; }
get a configured vxPDO instance identified by its datasource
name

@param string $name
@throws ApplicationException

@return \vxPHP\Database\DatabaseInterface
get a configured vxPDO instance identified by its datasource name