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

ViewErrorBag::count()

int count() Get the number of messages in the default bag. Return Value int

ViewClearCommand::setLaravel()

void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel 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::run()

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

ViewClearCommand::warn()

void warn(string $string) Write a string as warning output. Parameters string $string 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::line()

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

ViewClearCommand::info()

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

ViewClearCommand::question()

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