Browse Source

use namespace

PHP-GTK3
yggverse 4 months ago
parent
commit
c1c5ad08be
  1. 16
      src/Entity/Browser/Container/Page.php

16
src/Entity/Browser/Container/Page.php

@ -4,6 +4,8 @@ declare(strict_types=1);
namespace Yggverse\Yoda\Entity\Browser\Container; namespace Yggverse\Yoda\Entity\Browser\Container;
use \Yggverse\Yoda\Entity\Browser\Container;
use \Yggverse\Yoda\Entity\Browser\Container\Page\Title; use \Yggverse\Yoda\Entity\Browser\Container\Page\Title;
use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar; use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar;
use \Yggverse\Yoda\Entity\Browser\Container\Page\Progressbar; use \Yggverse\Yoda\Entity\Browser\Container\Page\Progressbar;
@ -17,17 +19,17 @@ class Page
public \GtkBox $gtk; public \GtkBox $gtk;
// Dependencies // Dependencies
public \Yggverse\Yoda\Entity\Browser\Container $container; public Container $container;
// Requirements // Requirements
public \Yggverse\Yoda\Entity\Browser\Container\Page\Title $title; public Title $title;
public \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar $navbar; public Navbar $navbar;
public \Yggverse\Yoda\Entity\Browser\Container\Page\Progressbar $progressbar; public Progressbar $progressbar;
public \Yggverse\Yoda\Entity\Browser\Container\Page\Content $content; public Content $content;
public \Yggverse\Yoda\Entity\Browser\Container\Page\Response $response; public Response $response;
public function __construct( public function __construct(
\Yggverse\Yoda\Entity\Browser\Container $container Container $container
) { ) {
// Init dependencies // Init dependencies
$this->container = $container; $this->container = $container;

Loading…
Cancel
Save