Skip to content

Commit

Permalink
extends urlanalyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
altendorfme committed Jan 30, 2025
1 parent 9ffd826 commit 91f58e6
Show file tree
Hide file tree
Showing 14 changed files with 773 additions and 782 deletions.
4 changes: 3 additions & 1 deletion app/inc/Cache.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace Inc;

use Inc\Cache\CacheStorageInterface;
use Inc\Cache\DiskStorage;
use Inc\Cache\S3Storage;
Expand Down Expand Up @@ -88,4 +90,4 @@ public function set($url, $content)

return $this->storage->set($this->generateId($url), $content);
}
}
}
4 changes: 3 additions & 1 deletion app/inc/Language.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace Inc;

/**
* Manages language translations and localization
* Loads language files based on system configuration
Expand Down Expand Up @@ -51,4 +53,4 @@ public static function getMessage($key) {
public static function getCurrentLanguage() {
return self::$currentLanguage;
}
}
}
4 changes: 3 additions & 1 deletion app/inc/Rules.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace Inc;

/**
* Manages domain-specific content manipulation rules
* Handles rule merging between global and domain-specific configurations
Expand Down Expand Up @@ -146,4 +148,4 @@ public function getGlobalRules()
// Helper function for associative array check
function is_assoc_array($array) {
return array_keys($array) !== range(0, count($array) - 1);
}
}
Loading

0 comments on commit 91f58e6

Please sign in to comment.