PHP Class JoliTypo\Fixer\Hyphen

Inheritance: implements JoliTypo\FixerInterface, implements JoliTypo\LocaleAwareFixerInterface
Afficher le fichier Open project: jolicode/jolitypo Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $locale )
fix ( $content, StateBag $stateBag = null )
setLocale ( $locale )

Méthodes protégées

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

Method Details

__construct() public méthode

public __construct ( $locale )

fix() public méthode

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

fixLocale() protected méthode

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

setLocale() public méthode

public setLocale ( $locale )
$locale

setOptions() protected méthode

protected setOptions ( )