public function getResult() { return $this->serialized ? unserialize($this->result) : $this->result; }