From 1f9035f790357450a64dcb876debb9b0f3ab30c8 Mon Sep 17 00:00:00 2001 From: Sergei Shitikov Date: Fri, 27 Sep 2024 17:18:48 +0200 Subject: [PATCH] solve conflicts --- src/Container/Container.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/Container/Container.php b/src/Container/Container.php index ce482c5..b3f7696 100644 --- a/src/Container/Container.php +++ b/src/Container/Container.php @@ -20,6 +20,25 @@ class Container extends GenericContainer return new self($image); } + /** + * @deprecated Use `withCommand` instead + * @param array $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 */