ServiceInitializer
in package
implements
InitializerInterface
VuFind Service Initializer
Tags
Interfaces, Classes, Traits and Enums
- InitializerInterface
Table of Contents
- __invoke() : object
- Given an instance and a Service Manager, initialize the instance.
- isCacheEnabled() : bool
- Check if the record cache is enabled within a service manager.
Methods
__invoke()
Given an instance and a Service Manager, initialize the instance.
public
__invoke(ContainerInterface $sm, object $instance) : object
Parameters
- $sm : ContainerInterface
-
Service manager
- $instance : object
-
Instance to initialize
Return values
object —isCacheEnabled()
Check if the record cache is enabled within a service manager.
protected
isCacheEnabled(ContainerInterface $sm) : bool
Parameters
- $sm : ContainerInterface
-
Service manager