17 lines
471 B
PHP
17 lines
471 B
PHP
<?php
|
|
|
|
namespace App\Libraries;
|
|
|
|
use App\Libraries\OperationContext;
|
|
|
|
interface PipelineStepInterface
|
|
{
|
|
/**
|
|
* 각 서비스가 파이프라인의 한 단계로 동작하기 위한 표준 메서드입니다.
|
|
* 컨텍스트를 받아 처리하고, 다음 단계로 전달하기 위해 컨텍스트를 반환합니다.
|
|
* @param OperationContext $context
|
|
* @return OperationContext
|
|
*/
|
|
public function handle(OperationContext $context): OperationContext;
|
|
}
|