hyperf-view/builder/Generator/Stubs/Single/service.stub

32 lines
664 B
Plaintext

<?php
declare(strict_types=1);
/**
* MineAdmin is committed to providing solutions for quickly building web applications
* Please view the LICENSE file that was distributed with this source code,
* For the full copyright and license information.
* Thank you very much for using MineAdmin.
*
* @Author X.Mo<root@imoi.cn>
* @Link https://gitee.com/xmo/MineAdmin
*/
namespace {NAMESPACE};
{USE}
use Builder\Abstracts\AbstractService;
/**
* {COMMENT}
*/
class {CLASS_NAME} extends AbstractService
{
/**
* @var {MAPPER}
*/
public $mapper;
public function __construct({MAPPER} $mapper)
{
$this->mapper = $mapper;
}
}