TinkerCommand::__construct()

void __construct() Create a new console command instance. Return Value void

TinkerCommand::warn()

void warn(string $string) Write a string as warning output. Parameters string $string Return Value void

TinkerCommand::table()

void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void

TinkerCommand::setLaravel()

void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void

TinkerCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

TinkerCommand::run()

int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int

TinkerCommand::question()

void question(string $string) Write a string as question output. Parameters string $string Return Value void

TinkerCommand::option()

string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array

TinkerCommand::line()

void line(string $string) Write a string as standard output. Parameters string $string Return Value void

TinkerCommand::info()

void info(string $string) Write a string as information output. Parameters string $string Return Value void