public function setLocale($locale)
	{
		$locale = (string) $locale;
		if ($locale == '')
		{
			throw new EmptyLocaleException('The locale must be a string and not empty.');
		}
		$this->locale = $locale;
		return $this;
	}
public function setLocale($locale)
	{
		$locale = (string) $locale;
		if ($locale == '')
		{
			throw new EmptyLocaleException('The locale must be a string and not empty.');
		}
		$this->locale = $locale;
		return $this;
	}
public function setLocale ( $ locale ) { $ locale = ( string ) $ locale ; if ( $ locale == '' ) { throw new EmptyLocaleException ( 'The locale must be a string and not empty.' ) ; } $ this -> locale = $ locale ; return $ this ; }
Sets the locale for this object.

@param string $locale
@chainable
Sets the locale for this object .