/** * @brief Lists all available config keys * @return array with key names * * This function returns all keys saved in config.php. Please note that it * does not return the values. */ public static function getKeys() { return self::$object->getKeys(); }
/** * Lists all available config keys * @return array an array of key names */ public function getKeys() { return $this->config->getKeys(); }
public function testGetKeys() { $expectedConfig = array('foo', 'beers', 'alcohol_free'); $this->assertSame($expectedConfig, $this->config->getKeys()); }
public function testGetKeys() { $this->assertEquals(array('foo'), $this->config->getKeys()); }