PHP Class JoliTypo\Fixer\Hyphen

Inheritance: implements JoliTypo\FixerInterface, implements JoliTypo\LocaleAwareFixerInterface
Datei anzeigen Open project: jolicode/jolitypo Class Usage Examples

Public Methods

Method Description
__construct ( $locale )
fix ( $content, StateBag $stateBag = null )
setLocale ( $locale )

Protected Methods

Method Description
fixLocale ( $locale ) : mixed Transform fr_FR to fr to fit the list of supported locales.
setOptions ( )

Method Details

__construct() public method

public __construct ( $locale )

fix() public method

public fix ( $content, StateBag $stateBag = null )
$stateBag JoliTypo\StateBag

fixLocale() protected method

Transform fr_FR to fr to fit the list of supported locales.
protected fixLocale ( $locale ) : mixed
$locale
return mixed

setLocale() public method

public setLocale ( $locale )
$locale

setOptions() protected method

protected setOptions ( )