From 327ea72214a3912bea93aac3be609a8989a1e69a Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 28 Mar 2018 03:20:12 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EB=8B=A8=EC=B6=95=20?= =?UTF-8?q?=EB=AA=85=EB=A0=B9=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twe/sammo/Event/Condition.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/twe/sammo/Event/Condition.php b/twe/sammo/Event/Condition.php index 0694f838..0e7bedd9 100644 --- a/twe/sammo/Event/Condition.php +++ b/twe/sammo/Event/Condition.php @@ -13,7 +13,8 @@ abstract class Condition{ $key = $conditionChain[0]; if(\array_key_exists(strtolower($key), Condition\Logic::AVAILABLE_LOGIC_NAME)){ //logic 단축 명령. - return new Condition\Logic($key, array_slice($conditionChain, 1)); + $ref = new \ReflectionClass('sammo\\Event\\Condition\\Logic'); + return $ref->newInstanceArgs($conditionChain); } $className = 'sammo\\Event\\Condition\\'.$key;