Ejemplo n.º 1
0
 /**
  * @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();
 }
Ejemplo n.º 2
0
 /**
  * Lists all available config keys
  * @return array an array of key names
  */
 public function getKeys()
 {
     return $this->config->getKeys();
 }
Ejemplo n.º 3
0
	public function testGetKeys() {
		$expectedConfig = array('foo', 'beers', 'alcohol_free');
		$this->assertSame($expectedConfig, $this->config->getKeys());
	}
Ejemplo n.º 4
0
 public function testGetKeys()
 {
     $this->assertEquals(array('foo'), $this->config->getKeys());
 }