Browse Source

use namespace

PHP-GTK3
yggverse 5 months ago
parent
commit
f292ac45af
  1. 14
      src/Entity/Browser/Container/Page/Navbar.php

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

@ -4,6 +4,8 @@ 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\Navbar\Base; 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\Go;
use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\History; use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\History;
@ -14,19 +16,19 @@ class Navbar
public \GtkBox $gtk; public \GtkBox $gtk;
// Dependencies // Dependencies
public \Yggverse\Yoda\Entity\Browser\Container\Page $page; public Page $page;
// Requirements // Requirements
public \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Base $base; public Base $base;
public \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Go $go; public Go $go;
public \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\History $history; public History $history;
public \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Request $request; public Request $request;
// Defaults // Defaults
private int $_margin = 8; private int $_margin = 8;
public function __construct( public function __construct(
\Yggverse\Yoda\Entity\Browser\Container\Page $page Page $page
) { ) {
// Init dependencies // Init dependencies
$this->page = $page; $this->page = $page;

Loading…
Cancel
Save