Permalink
Browse files

Mark as abstract

  • Loading branch information...
flack committed Feb 2, 2019
1 parent b1d4c83 commit 00bde9e81ddbe5270b67f47f6997ec164652b084
Showing with 5 additions and 11 deletions.
  1. +5 −11 lib/midcom/services/cache/module.php
@@ -131,17 +131,6 @@ private function prepare_backend(array $config, $name)
return $cache;
}
/**
* Startup handler, called during service start up at the start of the request.
* You may, as it is required for the content cache, intercept requests. Terminate
* the requests with _midcom_stop_request() if you produce a complete output based on a previous request
* (page cache) of midcom_application::finish() if you produce regular output that
* might go into the content cache.
*/
public function _on_initialize()
{
}
/**
* Invalidate the cache completely, dropping all entries. The default implementation will
* drop all entries from all registered cache backends using CacheProvider::flushAll().
@@ -155,6 +144,11 @@ public function invalidate_all()
}
}
/**
* Startup handler, called during service start up at the start of the request.
*/
abstract public function _on_initialize();
/**
* Invalidate all cache objects related to the given GUID.
*

0 comments on commit 00bde9e

Please sign in to comment.