Hoa central
Public Member Functions | Protected Attributes | List of all members
Hoa\Locale\Localizer\Coerce Class Reference
Inheritance diagram for Hoa\Locale\Localizer\Coerce:

Public Member Functions

 __construct ($locale)
 
 getLocale ()
 

Protected Attributes

 $_locale = null
 

Detailed Description

Class .

Arbitrary locale.

Definition at line 47 of file Coerce.php.

Constructor & Destructor Documentation

Hoa\Locale\Localizer\Coerce::__construct (   $locale)

Force a locale.

Parameters
string$localeLocale.
Returns
void

Definition at line 64 of file Coerce.php.

65  {
66  $this->_locale = $locale;
67 
68  return;
69  }

Member Function Documentation

Hoa\Locale\Localizer\Coerce::getLocale ( )

Get locale.

Returns
string

Implements Hoa\Locale\Localizer\Localizer.

Definition at line 76 of file Coerce.php.

77  {
78  return $this->_locale;
79  }

Member Data Documentation

Hoa\Locale\Localizer\Coerce::$_locale = null
protected

Definition at line 54 of file Coerce.php.


The documentation for this class was generated from the following file: