client = $client; } /** * {@inheritDoc} */ public function __call(string $subcommandID, array $arguments) { array_unshift($arguments, strtoupper($subcommandID)); return $this->client->executeCommand( $this->client->createCommand($this->getContainerCommandId(), $arguments) ); } abstract public function getContainerCommandId(): string; }