mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 19:01:37 +00:00
33 lines
634 B
PHP
33 lines
634 B
PHP
<?php
|
|
|
|
namespace App\SSH\Services;
|
|
|
|
interface ServiceInterface
|
|
{
|
|
/**
|
|
* @param array<string, mixed> $input
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function creationRules(array $input): array;
|
|
|
|
/**
|
|
* @param array<string, mixed> $input
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function creationData(array $input): array;
|
|
|
|
/**
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function deletionRules(): array;
|
|
|
|
/**
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function data(): array;
|
|
|
|
public function install(): void;
|
|
|
|
public function uninstall(): void;
|
|
}
|