* @copyright (c), Thread */ class Seo extends aModule { public $name = 'seo'; public $translationsBasePath = __DIR__ . '/messages'; public $configPath = __DIR__ . '/config.php'; /** * Sitemap objects * @var array */ public $objects = []; /** * Sitemap secret key * @var string */ public $secretKey = 'thread'; /** * @return null|object * @throws \yii\base\InvalidConfigException */ public static function getDb() { return Yii::$app->get('db-core'); } }