Flintstone\Flintstone::getConfig PHP Method

getConfig() public method

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

Usage Example

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