command = $command; $this->arguments = $arguments; } public function command(): string { return $this->command; } public function __toString(): string { return sprintf( '%s %s', $this->command, implode(' ', $this->arguments) ); } }