public function run(array $args) {
		foreach($this->calls as $call) {
			if($call instanceof \SuperClosure\SerializableClosure)
				$call = $call->getClosure();
			$res = call_user_func_array($call, array_merge([$this], $args));
			$this->executed++;
			if($res !== null)
				return $res;
			if(!$this->continue)
				return;
		}
	}
public function run(array $args) {
		foreach($this->calls as $call) {
			if($call instanceof \SuperClosure\SerializableClosure)
				$call = $call->getClosure();
			$res = call_user_func_array($call, array_merge([$this], $args));
			$this->executed++;
			if($res !== null)
				return $res;
			if(!$this->continue)
				return;
		}
	}
public function run ( array $ args ) { foreach ( $ this -> calls as $ call ) { if ( $ call instanceof \ SuperClosure \ SerializableClosure ) $ call = $ call -> getClosure ( ) ; $ res = call_user_func_array ( $ call , array_merge ( [ $ this ] , $ args ) ) ; $ this -> executed ++ ; if ( $ res !== null ) return $ res ; if ( ! $ this -> continue ) return ; } }
Execute the chain.
@param array $args
@return mixed
Execute the chain .