for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Transliteration library
*
* (c) Artem Henvald <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Fresh\Transliteration;
/**
* Transliterator.
* @author Artem Henvald <[email protected]>
class Transliterator
{
* @param string $ukrainianText
* @return string
public function ukToEn(string $ukrainianText): string
return UkrainianToEnglish::transliterate($ukrainianText);
}
* @param string $russianText
public function ruToEn(string $russianText): string
return RussianToEnglish::transliterate($russianText);