Пример #1
0
 public function transform($target)
 {
     reset($target);
     $this->selector->items = array(key($target));
     return parent::transform($target);
 }
Пример #2
0
 public function transform($target)
 {
     return array_filter(parent::transform($target));
 }