isPublic()) { return self::{$action}(); } } if (self::$default == null and \method_exists(self::class, 'setDefault')) { self::setDefault(); } if (self::$default == null) { header('Location: .'); return; } return self::$default; } } ?>