mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-22 11:12:20 +00:00
47 lines
963 B
PHP
Executable File
47 lines
963 B
PHP
Executable File
<?php
|
|
|
|
namespace App\SiteTypes;
|
|
|
|
interface SiteType
|
|
{
|
|
public function language(): string;
|
|
|
|
/**
|
|
* @return array<string>
|
|
*/
|
|
public function supportedFeatures(): array;
|
|
|
|
/**
|
|
* @param array<string, mixed> $input
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function createRules(array $input): array;
|
|
|
|
/**
|
|
* @param array<string, mixed> $input
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function createFields(array $input): array;
|
|
|
|
/**
|
|
* @param array<string, mixed> $input
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function data(array $input): array;
|
|
|
|
public function install(): void;
|
|
|
|
/**
|
|
* @param array<string, mixed> $input
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function editRules(array $input): array;
|
|
|
|
public function edit(): void;
|
|
|
|
/**
|
|
* @return array<array<string, string>>
|
|
*/
|
|
public function baseCommands(): array;
|
|
}
|