public static function listMethodsFromClass($class)
    {
        $filteredMethods = array();
        $reflection = new ReflectionClass($class);
        $methods = $reflection->getMethods();
        //Todo: lets make a better solution for this
        foreach ($methods as $method) {
            if ($class === $method->class) {
                $filteredMethods[] = $method;
            }
        }
        return $filteredMethods;
    }