load()
setUseIncludePath()
useIncludePath()
resolveFile()
resolveViaIncludePath()
$useIncludePath
Abstract file loader implementation; provides facilities around resolving files via the include_path.
load(string $locale, string $filename) : \Zend\I18n\Translator\TextDomain | null
inherited_from | \Zend\I18n\Translator\Loader\FileLoaderInterface::load() |
---|
string
string
setUseIncludePath(bool $flag) : \Zend\I18n\Translator\Loader\self
bool
\Zend\I18n\Translator\Loader\self
useIncludePath() : bool
bool
resolveFile(string $filename) : string | false
Checks if the file exists and is readable, returning a boolean false if not; if the "useIncludePath" flag is enabled, it will attempt to resolve the file from the include_path if the file does not exist on the current working path.
string
string
false
resolveViaIncludePath(string $filename) : string | false
string
string
false
$useIncludePath : bool