api de gestion de ticket, basé sur php-crud-api. Le but est de décorrélé les outils de gestion des données, afin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NoCache.php 373B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Tqdev\PhpCrudApi\Cache;
  3. class NoCache implements Cache
  4. {
  5. public function __construct()
  6. {
  7. }
  8. public function set(String $key, String $value, int $ttl = 0): bool
  9. {
  10. return true;
  11. }
  12. public function get(String $key): String
  13. {
  14. return '';
  15. }
  16. public function clear(): bool
  17. {
  18. return true;
  19. }
  20. }