Flintstone\Flintstone::getConfig PHP Méthode

getConfig() public méthode

Get the config.
public getConfig ( ) : Config
Résultat Config
    public function getConfig()
    {
        return $this->config;
    }

Usage Example

 public function testGetDatabaseAndConfig()
 {
     $db = new Flintstone('test', array('dir' => __DIR__, 'cache' => false));
     $this->assertInstanceOf('Flintstone\\Database', $db->getDatabase());
     $this->assertInstanceOf('Flintstone\\Config', $db->getConfig());
 }