Interface ContextManager
- All Known Implementing Classes:
ContextManagerImpl
public interface ContextManager
Manages all
Context objects for sites- Since:
- 4.0.0
- Author:
- joseross
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroyContext(String siteId) Destroys the context for the given siteorg.craftercms.core.service.ContextgetContext(String siteId) Returns the context for the given site, creating it if needed
-
Method Details
-
getContext
Returns the context for the given site, creating it if needed- Parameters:
siteId- the id of the site- Returns:
- the context
-
destroyContext
Destroys the context for the given site- Parameters:
siteId- the id of the site
-