Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Overtrue
Pinyin
FileDictLoader
PHP 클래스 Overtrue\Pinyin\FileDictLoader
상속:
implements
Overtrue\Pinyin\DictLoaderInterface
파일 보기
프로젝트 열기: overtrue/pinyin
보호된 프로퍼티들
프로퍼티
타입
설명
$path
string
Dict path.
$segmentName
string
Words segment name.
공개 메소드들
메소드
설명
__construct
(
string
$path
)
Constructor.
map
(
Closure
$callback
)
Load dict.
mapSurname
(
Closure
$callback
)
Load surname dict.
메소드 상세
__construct()
공개
메소드
Constructor.
public
__construct
(
string
$path
)
$path
string
map()
공개
메소드
Load dict.
public
map
(
Closure
$callback
)
$callback
Closure
mapSurname()
공개
메소드
Load surname dict.
public
mapSurname
(
Closure
$callback
)
$callback
Closure
프로퍼티 상세
$path
보호되어 있는 프로퍼티
Dict path.
protected
string
$path
리턴
string
$segmentName
보호되어 있는 프로퍼티
Words segment name.
protected
string
$segmentName
리턴
string