Home > Backend Development > PHP Tutorial > 每天laravel-20160724|abstract Genaerator-1

每天laravel-20160724|abstract Genaerator-1

WBOY
Release: 2016-06-23 13:08:42
Original
1113 people have browsed it

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.
Copy after login


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template