Esempio n. 1
0
 protected function get($data)
 {
     $matches = parent::get($data);
     if (is_array($data)) {
         $matches = implode("", $matches);
     }
     return $matches;
 }
 protected function get($data)
 {
     $matched = parent::get($data);
     return ['original' => $data, 'matched' => $matched];
 }