mirror of
https://github.com/yiisoft/app.git
synced 2026-03-18 22:16:57 +01:00
* Rework config providers. * Remove unused code. * Update README.md. * Better naming options property CacheProvider::class. * Remove static in property and functions. * Fix scrutinizer issue. * Rename key providers.
23 lines
711 B
PHP
23 lines
711 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Yiisoft\Html\Html;
|
|
|
|
/** @var \App\ApplicationParameters $applicationParameters */
|
|
?>
|
|
<?= Html::beginTag('div', $applicationParameters->getNavBarOptions()) ?>
|
|
<?= Html::beginTag('div', $applicationParameters->getNavBarBrandOptions()) ?>
|
|
<?= Html::tag(
|
|
'span',
|
|
Html::img($applicationParameters->getLogo()),
|
|
$applicationParameters->getNavBarBrandLogoOptions()
|
|
) ?>
|
|
<?= Html::a(
|
|
$applicationParameters->getName(),
|
|
$applicationParameters->getBrandUrl(),
|
|
$applicationParameters->getNavBarBrandTitleOptions()
|
|
) ?>
|
|
<?= Html::endTag('div') ?>
|
|
<?= Html::endTag('div') ?>
|