mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
add entity namespace
This commit is contained in:
parent
7398ed7af2
commit
90c6d615fb
15 changed files with 40 additions and 40 deletions
18
src/Entity/Button/Back.php
Normal file
18
src/Entity/Button/Back.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Entity\Button;
|
||||
|
||||
class Back
|
||||
{
|
||||
public \GtkButton $button;
|
||||
|
||||
public function __construct(
|
||||
?string $label = 'Back'
|
||||
) {
|
||||
$this->button = \GtkButton::new_with_label(
|
||||
$label
|
||||
);
|
||||
}
|
||||
}
|
||||
18
src/Entity/Button/Forward.php
Normal file
18
src/Entity/Button/Forward.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Entity\Button;
|
||||
|
||||
class Forward
|
||||
{
|
||||
public \GtkButton $button;
|
||||
|
||||
public function __construct(
|
||||
?string $label = 'Forward'
|
||||
) {
|
||||
$this->button = \GtkButton::new_with_label(
|
||||
$label
|
||||
);
|
||||
}
|
||||
}
|
||||
18
src/Entity/Button/Go.php
Normal file
18
src/Entity/Button/Go.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Entity\Button;
|
||||
|
||||
class Go
|
||||
{
|
||||
public \GtkButton $button;
|
||||
|
||||
public function __construct(
|
||||
?string $label = 'Go'
|
||||
) {
|
||||
$this->button = \GtkButton::new_with_label(
|
||||
$label
|
||||
);
|
||||
}
|
||||
}
|
||||
18
src/Entity/Button/Home.php
Normal file
18
src/Entity/Button/Home.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Entity\Button;
|
||||
|
||||
class Home
|
||||
{
|
||||
public \GtkButton $button;
|
||||
|
||||
public function __construct(
|
||||
?string $label = 'Home'
|
||||
) {
|
||||
$this->button = \GtkButton::new_with_label(
|
||||
$label
|
||||
);
|
||||
}
|
||||
}
|
||||
18
src/Entity/Button/Reload.php
Normal file
18
src/Entity/Button/Reload.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Entity\Button;
|
||||
|
||||
class Reload
|
||||
{
|
||||
public \GtkButton $button;
|
||||
|
||||
public function __construct(
|
||||
?string $label = 'Reload'
|
||||
) {
|
||||
$this->button = \GtkButton::new_with_label(
|
||||
$label
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue