Example #1
0
 /**
  * {@inheritdoc}
  */
 public function findAllByLocale($locale)
 {
     $operators = $this->operatorRepo->findAllByLocale($locale);
     if ($operators) {
         array_walk($operators, function (&$operator) use($locale) {
             $operator = new Operator($operator, $locale);
         });
     }
     return $operators;
 }