首页 >后端开发 >php教程 >每天laravel-20160724|abstract Genaerator-1

每天laravel-20160724|abstract Genaerator-1

WBOY
WBOY原创
2016-06-23 13:08:421114浏览

namespace Illuminate\Console;use Illuminate\Support\Str;use Illuminate\Filesystem\Filesystem;use Symfony\Component\Console\Input\InputArgument;// use namespaceabstract 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.


声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn