PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Console
/
View
/
Components
<?php namespace Illuminate\Console\View\Components; use InvalidArgumentException; /** * @method void alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method void bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method mixed choice(string $question, array $choices, $default = null) * @method bool confirm(string $question, bool $default = false) * @method void error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method void info(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method void line(string $style, string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method void task(string $description, ?callable $task = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method void twoColumnDetail(string $first, ?string $second = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method void warn(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) */ class Factory { /** * The output interface implementation. * * @var \Illuminate\Console\OutputStyle */ protected $output; /** * Creates a new factory instance. * * @param \Illuminate\Console\OutputStyle $output * @return void */ public function __construct($output) { $this->output = $output; } /** * Dynamically handle calls into the component instance. * * @param string $method * @param array $parameters * @return mixed * * @throws \InvalidArgumentException */ public function __call($method, $parameters) { $component = '\Illuminate\Console\View\Components\\'.ucfirst($method); throw_unless(class_exists($component), new InvalidArgumentException(sprintf( 'Console component [%s] not found.', $method ))); return with(new $component($this->output))->render(...$parameters); } }
[-] Warn.php
[edit]
[-] Alert.php
[edit]
[+]
Mutators
[-] TwoColumnDetail.php
[edit]
[+]
..
[-] BulletList.php
[edit]
[-] Confirm.php
[edit]
[-] Component.php
[edit]
[-] Choice.php
[edit]
[-] Factory.php
[edit]
[-] Line.php
[edit]
[-] Task.php
[edit]
[-] Info.php
[edit]
[-] Error.php
[edit]