update 模版生成
This commit is contained in:
23
extend/catcher/generate/factory/HeaderDoc.php
Normal file
23
extend/catcher/generate/factory/HeaderDoc.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
namespace catcher\generate\factory;
|
||||
|
||||
trait HeaderDoc
|
||||
{
|
||||
public function header(): string
|
||||
{
|
||||
$year = date('Y', time());
|
||||
|
||||
return <<<TMP
|
||||
// +----------------------------------------------------------------------
|
||||
// | CatchAdmin [Just Like ~ ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: JaguarJack [ njphper@gmail.com ]
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
TMP;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user