src/Runtime/ClosureContainer.php
function run($name, $params = array())
    {
        if (isset($this->actions[$name])) {
            if (!is_array($params)) {
                $params = array($params);
            }
            return call_user_func_array($this->actions[$name], $params);
        }

        return false;
    }
function run($name, $params = array())
    {
        if (isset($this->actions[$name])) {
            if (!is_array($params)) {
                $params = array($params);
            }
            return call_user_func_array($this->actions[$name], $params);
        }

        return false;
    }
执行指定的匿名方法

@param string $name
@param array $params
@return mixed