public function __construct($id, $command) { $this->command = $command; $this->id = $id; $this->output = $this->getDefaultOutput(); }