nur-sery/nur_src/v/html5/Html5IconManager.php

16 lines
300 B
PHP

<?php
namespace nur\v\html5;
use nur\v\model\IIconManager;
use nur\v\v;
class Html5IconManager implements IIconManager {
function getIcon(string $name, $suffix=null, ?string $alt=null): array {
return [
v::span(["title" => $name, ""]),
"&nbsp;",
q($suffix),
];
}
}