solve conflicts

This commit is contained in:
Sergei Shitikov
2024-09-27 17:18:48 +02:00
parent 75f34f4e97
commit 1f9035f790
+19
View File
@@ -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
*/