public function getEnabledModsAttribute($value) { if ($this->_enabledMods === null) { $this->_enabledMods = ModsHelper::toArray($value); } return $this->_enabledMods; }