public function commonApplicationAttributes()
    {
        return [
            'components' => [
                'i18n' => [
                    'translations' => [
                        'extensions-manager' => [
                            'class' => 'yii\i18n\PhpMessageSource',
                            'basePath' => __DIR__ . '/messages',
                        ]
                    ]
                ],
            ],
            'modules' => [
                'extensions-manager' => [
                    'class' => ExtensionsManager::class,
                    'extensionsStorage' => $this->extensionsStorage,
                    'packagistUrl' => $this->packagistUrl,
                    'githubAccessToken' => $this->githubAccessToken,
                    'applicationName' => $this->applicationName,
                    'githubApiUrl' => $this->githubApiUrl,
                    'extensionsPerPage' => $this->extensionsPerPage,
                    'composerPath' => $this->composerPath,
                    'verbose' => $this->verbose,
                ]
            ],
        ];
    }
public function commonApplicationAttributes()
    {
        return [
            'components' => [
                'i18n' => [
                    'translations' => [
                        'extensions-manager' => [
                            'class' => 'yii\i18n\PhpMessageSource',
                            'basePath' => __DIR__ . '/messages',
                        ]
                    ]
                ],
            ],
            'modules' => [
                'extensions-manager' => [
                    'class' => ExtensionsManager::class,
                    'extensionsStorage' => $this->extensionsStorage,
                    'packagistUrl' => $this->packagistUrl,
                    'githubAccessToken' => $this->githubAccessToken,
                    'applicationName' => $this->applicationName,
                    'githubApiUrl' => $this->githubApiUrl,
                    'extensionsPerPage' => $this->extensionsPerPage,
                    'composerPath' => $this->composerPath,
                    'verbose' => $this->verbose,
                ]
            ],
        ];
    }
public function commonApplicationAttributes ( ) { return [ 'components' => [ 'i18n' => [ 'translations' => [ 'extensions-manager' => [ 'class' => 'yii\i18n\PhpMessageSource' , 'basePath' => __DIR__ . '/messages' , ] ] ] , ] , 'modules' => [ 'extensions-manager' => [ 'class' => ExtensionsManager :: class , 'extensionsStorage' => $ this -> extensionsStorage , 'packagistUrl' => $ this -> packagistUrl , 'githubAccessToken' => $ this -> githubAccessToken , 'applicationName' => $ this -> applicationName , 'githubApiUrl' => $ this -> githubApiUrl , 'extensionsPerPage' => $ this -> extensionsPerPage , 'composerPath' => $ this -> composerPath , 'verbose' => $ this -> verbose , ] ] , ] ; }
Returns array of module configuration that should be stored in application config.
Array should be ready to merge in app config.
Used both for web and console.

@return array
Returns array of module configuration that should be stored in application config . Array should be ready to merge in app config . Used both for web and console .