VuFind API Documentation

PathResolverFactory
in package
implements FactoryInterface Uses IniReaderTrait

Factory for PathResolver.

Tags
category

VuFind

author

Ere Maijala ere.maijala@helsinki.fi

license

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

link

Wiki

Interfaces, Classes, Traits and Enums

FactoryInterface

Table of Contents

$defaultBaseConfigSubdir  : string
Default base config file subdirectory under the base directory
$defaultLocalConfigSubdir  : string
Default config file subdirectory under a local override directory
$iniReader  : Ini
INI reader
__invoke()  : object
Create an object
getIniReader()  : Ini
Creates INI reader if it does not exist and returns it.

Properties

$defaultBaseConfigSubdir

Default base config file subdirectory under the base directory

protected string $defaultBaseConfigSubdir = \VuFind\Config\PathResolver::DEFAULT_CONFIG_SUBDIR

$defaultLocalConfigSubdir

Default config file subdirectory under a local override directory

protected string $defaultLocalConfigSubdir = \VuFind\Config\PathResolver::DEFAULT_CONFIG_SUBDIR

Methods

__invoke()

Create an object

public __invoke(ContainerInterface $container, string $requestedName[, null|array<string|int, mixed> $options = null ]) : object
Parameters
$container : ContainerInterface

Service manager

$requestedName : string

Service being created

$options : null|array<string|int, mixed> = null

Extra options (optional)

Tags
throws
ServiceNotFoundException

if unable to resolve the service.

throws
ServiceNotCreatedException

if an exception is raised when creating a service.

throws
ContainerExceptionInterface|Throwable

if any other error occurs

Return values
object

getIniReader()

Creates INI reader if it does not exist and returns it.

protected getIniReader() : Ini
Return values
Ini

Search results