public function fetchVersions() { $this->_versions = ScriptVersion::result(ScriptVersion::RESULT_ENTITY_COLLECTION)->find([['scriptId' => $this->id]], null, ['version' => true]); return $this->_versions; }