public function getSystem($key = null, $default = null) { $systemData = (array) $this->get(self::SYSTEM_CMS_NAME, []); if ($key) { return ArrayHelper::getValue($systemData, $key, $default); } else { return $systemData; } }