Exemplo n.º 1
0
 public function testLevelConfuseProvider()
 {
     $providedTests = array();
     foreach (MonologLevel::getLevels() as $label => $level) {
         $providedTests[$label] = array($label, $level);
     }
     return $providedTests;
 }
Exemplo n.º 2
0
 private function filterMonologLevels(array $record)
 {
     return array_filter(MonologLevel::getLevels(), function ($level) use($record) {
         return $record['level'] !== $level;
     });
 }