public static function simplify($string) { $result = StringEx::noAccents($string); return strtolower($result); }
/** * @covers Nash\Client\Util\StringEx::noAccents * @todo Implement testNoAccents(). */ public function testNoAccents() { $strAccents = "áÀãçéèÕü"; $noAccents = StringEx::noAccents($strAccents); $this->assertEquals("aAaceeOu", $noAccents); }