![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ts.corals.io/corals-api/vendor/orchestra/testbench-core/src/Contracts/ |
<?php namespace Orchestra\Testbench\Contracts; use Illuminate\Contracts\Auth\Authenticatable; interface TestCase { /** * Call the given URI and return the Response. * * @param string $method * @param string $uri * @param array $parameters * @param array $files * @param array $server * @param string $content * @param bool $changeHistory * * @return \Illuminate\Http\Response */ public function call($method, $uri, $parameters = [], $files = [], $server = [], $content = null, $changeHistory = true); /** * Creates the application. * * Needs to be implemented by subclasses. * * @return \Illuminate\Contracts\Foundation\Application */ public function createApplication(); /** * Set the currently logged in user for the application. * * @param \Illuminate\Contracts\Auth\Authenticatable $user * @param string $driver * * @return void */ public function be(Authenticatable $user, $driver = null); /** * Seed a given database connection. * * @param string $class * * @return void */ public function seed($class = 'DatabaseSeeder'); /** * Call artisan command and return code. * * @param string $command * @param array $parameters * * @return \Illuminate\Testing\PendingCommand|int */ public function artisan($command, $parameters = []); }