public function getArgsMethod(&$class, $method) {
        $params = [];

        $method = new \ReflectionMethod($class, $method);
        $parameters = $method->getParameters();

        foreach ($parameters as $parameter) {
            $object = $parameter->getClass();

            if ($object != null) {
                if (array_key_exists($object->name, $this->_alias)) {
                    $name = $this->_alias[$object->name];
                    array_push($params, self::$name());
                }
                else if (preg_match('#(Controller\\\Request\\\)#isU', $object->name)) {
                    array_push($params, Form::instance()->get($object));
                }
                else if (preg_match('#(Orm\\\Entity\\\)#isU', $object->name)) {
                    array_push($params, Orm::instance()->get($object));
                }
                else {
                    array_push($params, null);
                }
            }
            else {
                if (isset($_GET[$parameter->getName()])) {
                    array_push($params, $_GET[$parameter->getName()]);
                }
                else if (isset($_POST[$parameter->getName()])) {
                    array_push($params, $_POST[$parameter->getName()]);
                }
                else {
                    if (!$parameter->isOptional()) {
                        array_push($params, null);
                    }
                }
            }
        }

        return $params;
    }