Collective\Html\HtmlBuilder::listingElement PHP Метод

listingElement() защищенный Метод

Create the HTML for a listing element.
protected listingElement ( mixed $key, string $type, mixed $value ) : string
$key mixed
$type string
$value mixed
Результат string
    protected function listingElement($key, $type, $value)
    {
        if (is_array($value)) {
            return $this->nestedListing($key, $type, $value);
        } else {
            return '<li>' . e($value) . '</li>';
        }
    }