mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
use namespace
This commit is contained in:
parent
a2c151d276
commit
ec57e7830c
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
||||||
class Title
|
class Title
|
||||||
{
|
{
|
||||||
public \GtkLabel $gtk;
|
public \GtkLabel $gtk;
|
||||||
|
|
@ -12,7 +14,7 @@ class Title
|
||||||
public ?string $subtitle = null;
|
public ?string $subtitle = null;
|
||||||
|
|
||||||
// Dependencies
|
// Dependencies
|
||||||
public \Yggverse\Yoda\Entity\Browser\Container\Page $page;
|
public Page $page;
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
private int $_ellipsize = 3;
|
private int $_ellipsize = 3;
|
||||||
|
|
@ -22,7 +24,7 @@ class Title
|
||||||
private ?string $_tooltip = null;
|
private ?string $_tooltip = null;
|
||||||
|
|
||||||
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…
Add table
Add a link
Reference in a new issue