all() public static method

public static all ( ) : array
return array
Ejemplo n.º 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');
 }