0
点赞
收藏
分享

微信扫一扫

每天laravel-20160724|abstract Genaerator-1

phpworkerman 2023-03-02 阅读 41


namespace Illuminate\Console;

use Illuminate\Support\Str;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\Console\Input\InputArgument;
// use namespace
abstract class GeneratorCommand extends Command// a better class that is G
{
/**
* The filesystem instance.
*
* @var \Illuminate\Filesystem\Filesystem
*/
protected $files;// The file system instance

/**
* The type of class being generated.
*
* @var string
*/
protected $type;// The type of class being generated.

/**
* Create a new controller creator command instance.
*
* @param \Illuminate\Filesystem\Filesystem $files
* @return void
*/
public function __construct(Filesystem $files)
{
parent::__construct();

$this->files = $files;
}// Create a new controller creator command instance.


举报

相关推荐

0 条评论