protected function configurePdo()
    {
        if (!isset($this['parameters']['pdo'])) {
            return;
        }

        $connector = new Connector();
        $this->pdo = $connector->getPdo(
            $connector->getConfig($this['parameters']['pdo'])
        );

        $this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        $this['pdo'] = $this->pdo;
    }