21 lines
718 B
PHP
21 lines
718 B
PHP
<?php
|
|
|
|
namespace App\Interfaces\Part;
|
|
|
|
use App\Entities\Equipment\LineEntity;
|
|
use App\Entities\Equipment\ServerEntity;
|
|
use App\Entities\Equipment\ServerPartEntity;
|
|
use App\Entities\Part\IPEntity;
|
|
|
|
interface IPInterface
|
|
{
|
|
//회선관련 작업
|
|
public function attachToLine(LineEntity $lineEntity, string $ip): IPEntity;
|
|
//서버관련 작업
|
|
public function attachToServer(ServerEntity $serverEntity, array $formDatas = []): IPEntity;
|
|
public function detachFromServer(ServerEntity $serverEntity): IPEntity;
|
|
//서버파트관련 작업
|
|
public function attachToServerPart(ServerPartEntity $serverPartEntity): IPEntity;
|
|
public function detachFromServerPart(ServerPartEntity $serverPartEntity): IPEntity;
|
|
}
|