From a5c8061eef0ba596b693ea82064eb660d55c9c09 Mon Sep 17 00:00:00 2001 From: "choi.jh" Date: Tue, 18 Nov 2025 11:11:06 +0900 Subject: [PATCH] trafficmonitor init...2 --- app/Libraries/PipelineStep.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Libraries/PipelineStep.php b/app/Libraries/PipelineStep.php index 6c1a054..d8a43b9 100644 --- a/app/Libraries/PipelineStep.php +++ b/app/Libraries/PipelineStep.php @@ -30,7 +30,9 @@ class PipelineStep $this->logService->log($context, 'START'); // 2. 단계(Steps) 순차 실행 foreach ($steps as $step) { - // 각 단계는 컨텍스트를 받아 처리하고 업데이트된 컨텍스트를 반환합니다. + if (!($step instanceof PipelineStepInterface)) { + throw new \Exception("파이프라인 단계는 PipelineStep 인터페이스를 구현해야 합니다."); + } $context = $step->handle($context); } // 3. Log SUCCESS: 모든 단계 성공 로깅