Initial commit: Cloud Control Panel
This commit is contained in:
18
src/Contracts/ViewModel.php
Executable file
18
src/Contracts/ViewModel.php
Executable file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Din9xtrCloud\Contracts;
|
||||
interface ViewModel
|
||||
{
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function toArray(): array;
|
||||
|
||||
public function template(): string;
|
||||
|
||||
public function layout(): ?string;
|
||||
|
||||
public function title(): ?string;
|
||||
}
|
||||
Reference in New Issue
Block a user