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

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

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