mothership-ec/cog
最新稳定版本:4.16.0
Composer 安装命令:
composer require mothership-ec/cog
包简介
Mothership's PHP5 framework for building modular systems
关键字:
README 文档
README
What is Cog?
Cog is Mothership's Symfony-based PHP framework.
What services does Cog define?
Cog defines the following services on the service container. Don't overwrite any of these in your application unless you want to replace the functionality of this service with your own class.
class.loaderThis is the Composer autoloader class which is based on Symfony's autoloader.http.request.masterThis is theMessage\Cog\HTTP\Requestinstance for the current master request.bootstrap.loaderThis is an instance ofMessage\Cog\Bootstrap\Loader.app.loaderThis is the instance of the application loader class, which will be the installation's sublass ofMessage\Cog\Application\Loader.module.loaderThis is an instance ofMessage\Cog\Module\Loader.
What global events does Cog fire?
terminateThis is the very last thing that happens for any Cog request. Use this event for stopping debug timers; garbage collection; data logging; etc.cog.load.successFired once Cog is ready to use (but before modules have been loaded). All of Cog's event handlers and services will be setup and registered by this point.
Running tests
To execute all tests run phpunit in the root of the site.
You can run tests for individual components by running phpunit --testsuite <componentname>
e.g phpunit --testsuite Routing or phpunit --testsuite Application
统计信息
- 总下载量: 2.98k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 16
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2015-02-24