From ce62edd57746f6c89a9465149aac78797fccd109 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Thu, 28 Mar 2013 13:56:38 +0100 Subject: [PATCH] removed runAction method --- src/Intervention/Image/Image.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/Intervention/Image/Image.php b/src/Intervention/Image/Image.php index 053e7c3e..4f135891 100644 --- a/src/Intervention/Image/Image.php +++ b/src/Intervention/Image/Image.php @@ -1302,30 +1302,6 @@ class Image return $this; } - /** - * Applies set of operations on current image - * - * @param Array $action - * @return Image - */ - public function runAction($action) - { - if (is_array($action) && count($action)) { - // apply action array on current image - foreach ($action as $method_name => $params) { - if (is_array($params)) { - call_user_method_array($method_name, $this, $params); - } else { - call_user_method($method_name, $this); - } - } - } else { - throw new Exception('Given action must be defined as an array.'); - } - - return $this; - } - /** * Convert rgba alpha (0-1) value to gd value (0-127) *