Browse Source

reduce namespaces

PHP-GTK3
yggverse 4 months ago
parent
commit
c515d05444
  1. 23
      src/Entity/Browser/Container/Page/Navbar.php

23
src/Entity/Browser/Container/Page/Navbar.php

@ -4,12 +4,7 @@ declare(strict_types=1);
namespace Yggverse\Yoda\Entity\Browser\Container\Page; namespace Yggverse\Yoda\Entity\Browser\Container\Page;
use \Yggverse\Yoda\Entity\Browser\Container\Page; use \Yggverse\Yoda\Entity\Browser\Container\Page as Page;
use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Base;
use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Go;
use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\History;
use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Request;
class Navbar class Navbar
{ {
@ -19,10 +14,10 @@ class Navbar
public Page $page; public Page $page;
// Requirements // Requirements
public Base $base; public Navbar\Base $base;
public Go $go; public Navbar\Go $go;
public History $history; public Navbar\History $history;
public Request $request; public Navbar\Request $request;
// Defaults // Defaults
public const MARGIN = 8; public const MARGIN = 8;
@ -59,7 +54,7 @@ class Navbar
); );
// Append base button // Append base button
$this->base = new Base( $this->base = new Navbar\Base(
$this $this
); );
@ -68,7 +63,7 @@ class Navbar
); );
// Append history buttons group // Append history buttons group
$this->history = new History( $this->history = new Navbar\History(
$this $this
); );
@ -77,7 +72,7 @@ class Navbar
); );
// Append request entry, fill empty space // Append request entry, fill empty space
$this->request = new Request( $this->request = new Navbar\Request(
$this $this
); );
@ -89,7 +84,7 @@ class Navbar
); );
// Append go button // Append go button
$this->go = new Go( $this->go = new Navbar\Go(
$this $this
); );

Loading…
Cancel
Save