Behat / Transliterator

Behat Transliterator library inherited from Doctrine1 and used in Behat for snippet generation
Other
2.05k stars 30 forks source link

Remove class abstraction #19

Closed soullivaneuh closed 7 years ago

soullivaneuh commented 7 years ago

This class can be quite useful for standalone usage. For example:

$stringWithAccent = 'accès';
$stringWithoutAccent = \Behat\Transliterator\Transliterator::unaccent($stringWithAccent);

It can be used as a string tool and solve many tricks like this: http://stackoverflow.com/q/27680624/1731473

soullivaneuh commented 7 years ago

My bad, static method can be used even on an abstract class. :smile: