ViewErrorBag

ViewErrorBag class ViewErrorBag implements Countable (View source) Methods bool hasBag(string $key = 'default') Checks if a named MessageBag exists in the bags. MessageBag getBag(string $key) Get a MessageBag instance from the bags. array getBags() Get all the bags. $this put(string $key, MessageBag $bag) Add a new MessageBag instance to the bags. int count() Get the number of messages in the default bag. mixed __call(string $method, array $parameters) Dynamically

ViewClearCommand::__construct()

void __construct(Filesystem $files) Create a new config clear command instance. Parameters Filesystem $files Return Value void

ViewClearCommand::warn()

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

ViewClearCommand::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

ViewClearCommand::setLaravel()

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

ViewClearCommand::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

ViewClearCommand::run()

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

ViewClearCommand::question()

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

ViewClearCommand::option()

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

ViewClearCommand::line()

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