Phalcon\Test\UnitTestCase::getConfig PHP Méthode

getConfig() public méthode

Returns the Config object if any.
public getConfig ( ) : null | Phalcon\Config
Résultat null | Phalcon\Config
    public function getConfig()
    {
        if (!$this->config instanceof Config && $this->getDI()->has('config')) {
            return $this->getDI()->get('config');
        }
        return $this->config;
    }