14 lines
417 B
PHP
14 lines
417 B
PHP
<?php
|
|
|
|
namespace App\Interfaces\Equipment;
|
|
|
|
use App\Entities\Equipment\ServerEntity;
|
|
use App\Entities\Equipment\ServerPartEntity;
|
|
|
|
interface ServerPartInterface
|
|
{
|
|
public function attachToServer(ServerEntity $serverEntity, array $formDatas = []): void;
|
|
public function detachFromServer(ServerEntity $serverEntity): void;
|
|
public function setAmount(ServerPartEntity $entity, string $callBack): ServerPartEntity;
|
|
}
|