enlitepro/enlite-russell-interpreter
最新稳定版本:v1.0.2
Composer 安装命令:
composer require enlitepro/enlite-russell-interpreter
包简介
README 文档
README
The ZF2 module for the module RussellInterpreter (https://github.com/enlitepro/russell-interpreter)
INSTALL
- The recommended way to install is through composer.
{
"require": {
"enlitepro/enlite-russellInterpreter": "1.0.*"
}
}
-
Add
EnliteRussellInterpreterto yourconfig/application.config.phpto enable module. -
Register interpreter in
InterpreterAbstractFactory:
'EnliteRussellInterpreters' => [ 'youInterpreter' => [ 'use_default_extensions' => true, 'extensions' => [ 'myFavoriteFunction' => ['synonym1', 'synonym2'] ] ] ],
USAGE
New functions you must register in ExtensionsManager in EnliteRussellInterpreterExtensionsManager section:
'EnliteRussellInterpreterExtensionsManager' => array( 'invokables' => array( 'myFavoriteFunction' => 'MyModule\Extension\MyFavoriteFunction', ) )
统计信息
- 总下载量: 636
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-01-13