InteractsWithConsole

trait InteractsWithConsole (View source)

Properties

protected int $code The last code returned by Artisan CLI.

Methods

int artisan(string $command, array $parameters = [])

Call artisan command and return code.

Details

int artisan(string $command, array $parameters = [])

Call artisan command and return code.

Parameters

string $command
array $parameters

Return Value

int

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Foundation/Testing/Concerns/InteractsWithConsole.html