Console增加make:controller

This commit is contained in:
chunice
2016-05-28 11:46:09 +08:00
parent 82ddda4567
commit 506b587e56
3 changed files with 143 additions and 8 deletions

17
tpl/make_controller.tpl Normal file
View File

@@ -0,0 +1,17 @@
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
namespace {%namespace%};
class {%className%} extends {%extend%}
{
}