mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-17 17:01:37 +00:00
41 lines
623 B
PHP
41 lines
623 B
PHP
<?php
|
|
|
|
namespace App\SSH\Services;
|
|
|
|
use App\Models\Service;
|
|
|
|
abstract class AbstractService implements ServiceInterface
|
|
{
|
|
public function __construct(protected Service $service) {}
|
|
|
|
public function creationRules(array $input): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function creationData(array $input): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function deletionRules(): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function data(): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function install(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
public function uninstall(): void
|
|
{
|
|
//
|
|
}
|
|
}
|