mirror of
https://github.com/chylex/Lightning-Tracker.git
synced 2025-01-15 04:42:48 +01:00
25 lines
388 B
PHP
25 lines
388 B
PHP
<?php
|
|
declare(strict_types = 1);
|
|
|
|
namespace Pages;
|
|
|
|
use Pages\Components\Navigation\NavigationComponent;
|
|
use Routing\Request;
|
|
|
|
interface IModel{
|
|
/**
|
|
* Loads data into the model.
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function load(): IModel;
|
|
|
|
public function ensureLoaded(): void;
|
|
|
|
public function getReq(): Request;
|
|
|
|
public function getNav(): NavigationComponent;
|
|
}
|
|
|
|
?>
|