Extend the exiting davidhirtz\yii2\config\modules\admin\models\Config
class and load it via Yii's dependency injection
container. Application params need to be defined as public properties and must be marked as active by a validation rule.
davidhirtz / yii2-config Goto Github PK
View Code? Open in Web Editor NEWYii2 config module