\Overtrue\PinyinDictLoaderInterface

Dict loader interface.

Summary

Methods
Constants
map()
mapSurname()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

map()

map(\Closure  $callback) 

Load dict.

[
    '响应时间' => "[\t]xiǎng[\t]yìng[\t]shí[\t]jiān",
    '长篇连载' => '[\t]cháng[\t]piān[\t]lián[\t]zǎi',
    //...
]

Parameters

\Closure $callback

mapSurname()

mapSurname(\Closure  $callback) 

Load surname dict.

Parameters

\Closure $callback