mirror of
https://github.com/stan220/testcontainers-php.git
synced 2026-09-12 08:29:34 +00:00
remove legacy
This commit is contained in:
@@ -19,10 +19,9 @@ interface TestContainer
|
||||
public function withEntrypoint(string $entryPoint): static;
|
||||
|
||||
/**
|
||||
* TODO: replace with array after deprecated implementation is removed
|
||||
* @param array<string, string>|string $env
|
||||
* @param array<string, string> $env An array of key-value pairs
|
||||
*/
|
||||
public function withEnvironment(array | string $env, ?string $value): static;
|
||||
public function withEnvironment(array $env): static;
|
||||
|
||||
/** @param int|string|array<int|string> $ports One or more ports to expose. */
|
||||
public function withExposedPorts(...$ports): static;
|
||||
|
||||
Reference in New Issue
Block a user