Returns the service name for the database connection.
public getDbalServiceName ( ) : string | ||
return | string |
/** * Tests setting and retrieving the DBAL service name. */ public function testSetAndGetDbalServiceName() { $handler = new ContaoTableHandler(); $this->assertEquals('doctrine.dbal.default_connection', $handler->getDbalServiceName()); $handler->setDbalServiceName('foobar'); $this->assertEquals('foobar', $handler->getDbalServiceName()); }