dev-master
9999999-devYii2 environment-config integration
MIT
The Requires
The Development Requires
by Alexander Letnikow
1.0.0
1.0.0.0Yii2 environment-config integration
MIT
The Requires
The Development Requires
by Alexander Letnikow
Wallogit.com
2017 © Pedro Peláez
Yii2 environment-config integration
Main purpose of this package is to integrate horat1us\environment-config and yii\base\Configurable interface, (*2)
composer require horat1us/yii2-environment-config
<?php
use Horat1us\Environment;
class Config extends Environment\Yii2\Config {
// implement your methods (getters) here
}
// using constructor
$config = new Config([
'keyPrefix' => 'SOME_PREFIX_',
]);
// or using container
\Yii::$container->get(Config::class, [], [
'keyPrefix' => 'SOME_PREFIX_',
]);
MIT, (*3)
Yii2 environment-config integration
MIT
Yii2 environment-config integration
MIT