23 lines
786 B
PHP
Raw Normal View History

2020-04-28 16:34:17 +08:00
<?php
2021-06-10 19:38:44 +08:00
namespace catcher\generate\factory;
2020-04-28 16:34:17 +08:00
2021-06-10 19:38:44 +08:00
trait HeaderDoc
2020-04-28 16:34:17 +08:00
{
2021-06-10 19:38:44 +08:00
public function header(): string
2020-04-28 16:34:17 +08:00
{
$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;
}
2021-06-10 19:38:44 +08:00
}