Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Console\View\Components;
4
 
5
use Symfony\Component\Console\Output\OutputInterface;
6
 
7
class Warn extends Component
8
{
9
    /**
10
     * Renders the component using the given arguments.
11
     *
12
     * @param  string  $string
13
     * @param  int  $verbosity
14
     * @return void
15
     */
16
    public function render($string, $verbosity = OutputInterface::VERBOSITY_NORMAL)
17
    {
18
        with(new Line($this->output))
19
            ->render('warn', $string, $verbosity);
20
    }
21
}