all() public static method

public static all ( ) : array
return array
Example #1
0
 /**
  * @test
  */
 public function shouldOverrideConfigPropertyBySession()
 {
     //when
     $values = Config::all();
     //then
     Assert::thatArray($values)->containsKeyAndValue(array('debug' => false, 'language' => 'pl', 'custom' => 'value'));
     Assert::thatArray($values['global'])->contains('/sample');
 }