protected function methodDispatcher($handler, $params)
    {
        /**
         *  call when pass closure as handler
         **/
        if (is_callable($handler)) {
            $resolving = $this->container->resolveCallback($handler, $params);

            $this->validateForm($resolving);

            return call_user_func_array($handler, $resolving);
        }

        /**
         * call when pass controller as handler
         **/
        list($controller, $method) = explode('@', $handler);

        return $this->invoke($controller, $method, $params);
    }