classMySql91Container
final class MySql91Container
extends GenericContainer
Public API: explicitly declared with
@visibility public.Defines the MySQL 9.1.0 server used by database consumers.
$container = new \Container\MySql91Container();
assert($container->image() === 'container-registry.oracle.com/mysql/community-server:9.1.0');Methods§
public function __construct()Creates the pinned MySQL definition with shared startup settings.
Throws
InvalidFormatException If a configured mount cannot be parsed.Calls 3
- static-call
GenericContainer::__construct()line 27 - method-call MySqlConfiguration::apply() line 28
- new MySqlConfiguration line 28
public static function getGrammarVersion(): stringReturns the SQL grammar identifier matching the server version.
Returns
string Matching SQL grammar identifier.Test cases 1
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.