#13 After create new Vhost reload submenus

Closed
opened 4 years ago by herrhase · 0 comments
herrhase commented 4 years ago
Owner

At this time the only way to create a Submenu is with the builder,
but the method in the builder is this,

public function addSubMenuFromBuilder(string $text, CliMenuBuilder $builder) : self
{
	$menu = $builder->build();
    $menu->setParent($this->menu);

    $this->menu->addItem($item = new MenuMenuItem(
        $text,
        $menu,
        $builder->isMenuDisabled()
    ));

    $this->processItemShortcut($item);

    return $this;
}

Important is that all domains will be sorted.

At this time the only way to create a Submenu is with the builder, but the method in the builder is this, ```PHP public function addSubMenuFromBuilder(string $text, CliMenuBuilder $builder) : self { $menu = $builder->build(); $menu->setParent($this->menu); $this->menu->addItem($item = new MenuMenuItem( $text, $menu, $builder->isMenuDisabled() )); $this->processItemShortcut($item); return $this; } ``` Important is that all domains will be sorted.
herrhase added this to the 0.1-Alpha milestone 4 years ago
herrhase added the
feature
label 4 years ago
herrhase added the
package / nginx
label 4 years ago
herrhase self-assigned this 4 years ago
herrhase referenced this issue from a commit 4 years ago
herrhase closed this issue 4 years ago
Sign in to join this conversation.
Loading…
There is no content yet.