VuFind API Documentation

ServiceInitializer
in package
implements InitializerInterface

VuFind Service Initializer

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

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

Return values
bool

Search results