mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
init history tab entity
This commit is contained in:
parent
124cef3058
commit
8f46ba1398
1 changed files with 22 additions and 0 deletions
22
src/Entity/Tab/History.php
Normal file
22
src/Entity/Tab/History.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Entity\Tab;
|
||||
|
||||
class History
|
||||
{
|
||||
public \Yggverse\Yoda\Entity\App $app;
|
||||
|
||||
public object $config;
|
||||
|
||||
public function __construct(
|
||||
\Yggverse\Yoda\Entity\App $app
|
||||
) {
|
||||
// Init app
|
||||
$this->app = $app;
|
||||
|
||||
// Init config
|
||||
$this->config = \Yggverse\Yoda\Model\File::getConfig()->app->tab->page;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue