src/mako/database/ConnectionManager.php
protected function normalizeDriverName(string $driver): string
	{
		foreach($this->driverAliases as $normalized => $aliases)
		{
			if(in_array($driver, $aliases))
			{
				return $normalized;
			}
		}

		return $driver;
	}
protected function normalizeDriverName(string $driver): string
	{
		foreach($this->driverAliases as $normalized => $aliases)
		{
			if(in_array($driver, $aliases))
			{
				return $normalized;
			}
		}

		return $driver;
	}
protected function normalizeDriverName ( string $ driver ) : string { foreach ( $ this -> driverAliases as $ normalized => $ aliases ) { if ( in_array ( $ driver , $ aliases ) ) { return $ normalized ; } } return $ driver ; }
Returns the normalized driver name.

@param  string $driver Driver name
@return string
Returns the normalized driver name .