Set the brand label and an optional uri

@param string $label
@param string $uri

@return Bootstrap4NavbarLite
546494
public function addBrand(string $label, string $uri = null) : Bootstrap4NavbarLite
    {
        $this->brand_label = $label;
        $this->brand_uri = $uri;

        return $this;
    }
1270373
public function setToggle($label)
    {
        if ($label instanceof Button) {
            $this->toggle = $label;
        } else {
            $this->toggle = new Button($label);
            $this->entity->setEntityName($label);
        }

        $this->toggle->attributes->addAttribute('data-toggle', 'dropdown');
        $this->toggle->attributes->addAttribute('aria-haspopup', true);
        $this->toggle->attributes->addAttribute('aria-expanded', false);
        $this->toggle->attributes->addAttributeClass('dropdown-toggle');

        return $this;
    }
1139546
public function attachLabel($label,$side=Side::TOP,$direction=Direction::NONE,$icon=NULL){
		$label=$this->addLabel($label,true,$icon);
		$label->setAttached($side,$direction);
		return $this;
	}
1322259
public function prependBreadcrumb($label, $uri = null, $title = null, $description = null)
    {
        //prepend, przebudowa, zwraca siebie
        return $this->createBreadcrumb($label, $uri, $title, $description, true);
    }
1173752
public function addLink(
            string $label, 
            string $url, 
            bool $active       = false, 
            bool $disabled     = false, 
            string $icon       = null, 
            string $iconColor  = null, 
            string $badge      = null, 
            string $badgeColor = null)
    {
        Checkers::checkUrl($url);
        $this->items[] = [
            'label'    => $label, 
            'url'      => $url, 
            'active'   => $active, 
            'disabled' => $disabled,
            'icon'     => $icon,
            'icolor'   => $iconColor,
            'badge'    => $badge,
            'bcolor'   => $badgeColor
        ];
        return $this;
    }
1067445
public function setActionCustom(
        string $url = null,
        string $label = '',
        string $class = 'btn btn-primary btn-outline-primary btn-sm flat',
        string $icon = 'fa fa-paw'
    ): ButtonInterface {
        if (!$url) {
            $url = '#';
        }
        $this->setAction(self::TYPE_ACTION_CUSTOM)
            ->setUrl($url)
            ->setLabel($label)
            ->setClass($class)
            ->setIcon($icon);

        return $this;
    }
745626
public static function menuLink($label, $url, $htmlOptions = array())
    {
        TbArray::defaultValue('role', 'menuitem', $htmlOptions);
        $linkOptions = TbArray::popValue('linkOptions', $htmlOptions, array());
        $content = self::link($label, $url, $linkOptions);
        return self::tag('li', $htmlOptions, $content);
    }
388170
function btn($label, $tagbody) {
		return $this->button($label, null, $tagbody)
			->set('type', null);
	}
842079
protected function addLinkURI(ItemInterface $menu, $label, $uri)
    {
        $item = $menu->addChild($label, array('uri' => $uri));
        $item->setExtra('translation_domain', $this->translation_domain);

        if ($this->isCurrentUri($item->getUri())) {
            $item->setAttribute('class', 'active');
        }

        return $item;
    }
1185620
public function label($label)
    {
        if ($label === false) {
            $this->parts['{label}'] = '';
        } else {
            $this->parts['{label}'] = $label;
        }
        
        return $this;
    }
1356525
public function setCurrentURI($uri) {
        if(is_string($uri) && !empty(trim($uri))){
            $this->currentURI = $uri;
            $this->currentArray = Levels::getCurrent($this->navigation, $this->currentURI);
        }
        else{
            throw new InvalidArgumentException(
                '$uri must be a valid string when seting the current URI'
            );
        }
        return $this;
    }
980882
public function label($label = null)
    {
        if (null !== $label) {
            $this->label = $label;

            return $this;
        }

        if (Lang::has($this->label)) {
            return __($this->label);
        }
        return $this->label;
    }
245599
@MemberOrder(name="brand", sequence = "1")
    public ExampleTaggableEntity newBrand(
            @ParameterLayout(named="Tag") @Parameter(optionality = Optionality.OPTIONAL)
            final String brand) {
        setBrand(brand);
        return this;
    }
588816
public function set_label($label) {
        $label = (string)$label;
        if ($label === '' || $label !== clean_param($label, PARAM_TEXT)) {
            throw new base_setting_ui_exception('setting_invalid_ui_label');
        }
        $this->label = $label;
    }
1203094
public static function addRootLabel($uri)
    {
        return $uri->withHost((string) (new Domain(self::filterUri($uri)->getHost()))->withRootLabel());
    }
1255100
public function link($url, $label = null)
    {
        $url = $this->h($this->fullUrl($url));

        return '<a href="'.$url.'">'.($label ? $this->h($label) : $url).'</a>';
    }
372621
public function setLabel($label)
    {
        $this->textContent->prepend($label);
        $this->entity->setEntityName($label);

        return $this;
    }