示例#1
0
 /**
  * @test
  */
 public function array_values()
 {
     $this->assertArrayHasKey('foo', \Azi\Config::get('sample.some_array')->asArray());
 }
示例#2
0
文件: helpers.php 项目: Golpha/Config
 /**
  * little helper to get configuration values form config folder
  *
  * @param $key
  * @return mixed
  */
 function config($key)
 {
     return \Azi\Config::get($key);
 }