Info.php
TLDR
This file defines a class Info
in the Illuminate\Console\View\Components
namespace. The class has a render
method that takes a string argument and an optional verbosity level argument. The method renders the component using the given arguments.
Classes
Info
The Info
class is a component class in the Illuminate\Console\View\Components
namespace. It extends the Component
class. It has a render
method that takes a string argument and an optional verbosity level argument. The method renders the component using the given arguments.
<?php
namespace Illuminate\Console\View\Components;
use Symfony\Component\Console\Output\OutputInterface;
class Info extends Component
{
/**
* Renders the component using the given arguments.
*
* @param string $string
* @param int $verbosity
* @return void
*/
public function render($string, $verbosity = OutputInterface::VERBOSITY_NORMAL)
{
with(new Line($this->output))->render('info', $string, $verbosity);
}
}