src/PdoDataSource.php
public function setDatabaseName($databaseName = null) {
		$this->databaseName = $databaseName !== null ? (string) $databaseName : null;

		return $this;
	}
public function setDatabaseName($databaseName = null) {
		$this->databaseName = $databaseName !== null ? (string) $databaseName : null;

		return $this;
	}
Sets the database name

@param string|null $databaseName the name of the database, e.g. `my_application`
@return static this instance for chaining