Exemple #1
0
 public function filter($value)
 {
     $value = parent::filter($value);
     $value = str_replace('&', 'and', $value);
     $value = \App\Translit\Translit::url($value);
     return trim(preg_replace('#[\\-\\_\\s]+#u', '-', $value), ' -');
 }
Exemple #2
0
 public function filter($value)
 {
     return \App\Translit\Translit::url($value);
 }