for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ChinLeung\VerboseLocalization\Concerns;
trait HasFrenchCreoleVerboseMethods
{
/**
* Retrieve the translation in another locale.
*
* @param string $locale
* @return mixed
*/
abstract public function getTranslationIn(string $locale);
* Function to retrieve the translation in Haitian Creole.
public function inHaitianCreole()
return $this->getTranslationIn('ht');
}