Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
JoliTypo
Fixer
Hyphen
PHP Class JoliTypo\Fixer\Hyphen
Inheritance:
implements
JoliTypo\FixerInterface
,
implements
JoliTypo\LocaleAwareFixerInterface
ファイルを表示
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
( )