Phive\Queue\Tests\Handler\PdoHandler::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->pdo = new \PDO($this->getOption('dsn'), $this->getOption('username'), $this->getOption('password'));
        $this->pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
        $this->driverName = $this->pdo->getAttribute(\PDO::ATTR_DRIVER_NAME);
        $this->configureDriver();
    }