Browse Source

use namespace

PHP-GTK3
yggverse 4 months ago
parent
commit
039565460e
  1. 5
      src/Entity/Browser/Container/Tab.php

5
src/Entity/Browser/Container/Tab.php

@ -4,6 +4,7 @@ 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; use \Yggverse\Yoda\Entity\Browser\Container\Page;
class Tab class Tab
@ -11,7 +12,7 @@ class Tab
public \GtkNotebook $gtk; public \GtkNotebook $gtk;
// Dependencies // Dependencies
public \Yggverse\Yoda\Entity\Browser\Container $container; public Container $container;
// Defaults // Defaults
private bool $_reorderable = true; private bool $_reorderable = true;
@ -21,7 +22,7 @@ class Tab
private array $_page = []; private array $_page = [];
public function __construct( public function __construct(
\Yggverse\Yoda\Entity\Browser\Container $container Container $container
) { ) {
// Init dependency // Init dependency
$this->container = $container; $this->container = $container;

Loading…
Cancel
Save