state = $state; } else { $this->state = new PluginState($state); } $this->output = $output; } public function getState() { return $this->state; } public function getOutput() { return $this->output; } }