public function getActions() {
        $actions = array();
        foreach ($this->class->getMethods(ReflectionMethod::IS_PUBLIC) as $m) {
            if ($m->isConstructor() || $m->isDestructor() || in_array($m->name, self::$BLACK_LIST)) {
                continue;
            }

            if (is_subclass_of($m->class, 'Module') || is_subclass_of($m->class, Controller::class)) {
                $actions[] = new ActionDescription($m);
            }
        }
        return $actions;
    }