public function getPdo($name)
    {
        if (!isset($this->connections[$name])) {
            $name   = $this->defaultPdoName;
        }

        if (isset($this->pdoArray[$name])) {
            return $this->pdoArray[$name];
        }

        $pdo                    = $this->createPdo($this->connections[$name]);
        $this->pdoArray[$name]  = $this->initOptions($pdo);
        return $this->pdoArray[$name];
    }