Phalcon\Test\UnitTestCase::getConfig PHP 메소드

getConfig() 공개 메소드

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