PathResolverFactory
in package
implements
FactoryInterface
Uses
IniReaderTrait
Factory for PathResolver.
Tags
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
$iniReader
INI reader
protected
Ini
$iniReader
= null
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
Return values
object —getIniReader()
Creates INI reader if it does not exist and returns it.
protected
getIniReader() : Ini