mirror of
https://github.com/stan220/testcontainers-php.git
synced 2026-09-08 16:29:29 +00:00
solve conflicts
This commit is contained in:
@@ -20,6 +20,25 @@ class Container extends GenericContainer
|
||||
return new self($image);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use `withCommand` instead
|
||||
* @param array<string> $cmd
|
||||
*/
|
||||
public function withCmd(array $cmd): self
|
||||
{
|
||||
return $this->withCommand($cmd);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use `withEntrypoint` instead
|
||||
* TODO: this is just dummy method for compatibility,
|
||||
* the implementation with Docker Engine API should be discussed
|
||||
*/
|
||||
public function withHostname(string $hostname): self
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use `withPrivilegedMode` instead
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user