Zend\I18n\Translator\Loader\AbstractFileLoader
Abstract file loader implementation; provides facilities around resolving files via the include_path.
Synopsis
class AbstractFileLoader
implements
FileLoaderInterface
{
- // members
- protected bool $useIncludePath;
- // methods
- public self setUseIncludePath()
- public bool useIncludePath()
- protected string|false resolveFile()
- protected string|false resolveViaIncludePath()
Hierarchy
Extended by
- Zend\I18n\Translator\Loader\Gettext
- Zend\I18n\Translator\Loader\PhpArray
- Zend\I18n\Translator\Loader\Ini
Implements
Members
protected
- $useIncludePath
—
Zend\I18n\Translator\Loader\bool
Whether or not to consult the include_path when locating files
Methods
protected
- resolveFile() — Resolve a translation file
- resolveViaIncludePath() — Resolve a translation file via the include_path
public
- setUseIncludePath() — Indicate whether or not to use the include_path to resolve translation files
- useIncludePath() — Are we using the include_path to resolve translation files?