Skip to content

Commit

Permalink
Merge pull request laruence#355 from xiaohuokevin/master
Browse files Browse the repository at this point in the history
optimize Codes Generator indent
  • Loading branch information
laruence authored May 31, 2017
2 parents c6c913a + 562208c commit f025cc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/cg/templates/application/Bootstrap.php.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 这些方法, 都接受一个参数:Yaf_Dispatcher $dispatcher
* 调用的次序, 和申明的次序相同
*/
class Bootstrap extends Yaf_Bootstrap_Abstract{
class Bootstrap extends Yaf_Bootstrap_Abstract {
public function _initConfig() {
//把配置保存起来
Expand All @@ -25,7 +25,7 @@ class Bootstrap extends Yaf_Bootstrap_Abstract{
//在这里注册自己的路由协议,默认使用简单路由
}

public function _initView(Yaf_Dispatcher $dispatcher){
public function _initView(Yaf_Dispatcher $dispatcher) {
//在这里注册自己的view控制器,例如smarty,firekylin
}
}

0 comments on commit f025cc3

Please sign in to comment.