Index
A
- AbstractTranslatorProvider — Class in namespace MaintenanceScreen\TranslatorProvider
- Abstract provider of Translator instances
- ArrayTranslatorProvider — Class in namespace MaintenanceScreen\TranslatorProvider
- Array-based Translator instances provider
C
- ConfigurationLoader — Class in namespace MaintenanceScreen
- Configuraion loader
- $MaintenanceScreen#config — Property in class MaintenanceScreen
- ConfigurationTranslatorProvider — Class in namespace MaintenanceScreen\TranslatorProvider
- Provides Translator instances from configs
- $ConfigurationTranslatorProvider#configLoader — Property in class ConfigurationTranslatorProvider
F
- Translator::fromConfig() — Method in class Translator
- Makes Translator instance from config
- ArrayTranslatorProvider::fromArrays() — Method in class ArrayTranslatorProvider
- Makes {see ArrayTranslatorProvider} from array of arrays with strings
G
- MainConfiguration::getConfigTreeBuilder() — Method in class MainConfiguration
- {@inheritdoc}
- TranslatorConfiguration::getConfigTreeBuilder() — Method in class TranslatorConfiguration
- {@inheritdoc}
- Translator::getLanguage() — Method in class Translator
- Returns language name
- Translator::getTranslations() — Method in class Translator
- Returns all translations
- AbstractTranslatorProvider::getTranslator() — Method in class AbstractTranslatorProvider
- Makes Translator for language
- AbstractTranslatorProvider::getPreferredTranslator() — Method in class AbstractTranslatorProvider
- Makes Translator for preferred language.
- ITranslatorProvider::getTranslator() — Method in class ITranslatorProvider
- Makes Translator for language
- ITranslatorProvider::getPreferredTranslator() — Method in class ITranslatorProvider
- Makes Translator for preferred language.
I
- ITranslatorProvider — Class in namespace MaintenanceScreen\TranslatorProvider
- Interface for Translator instances providers
L
- $ConfigurationLoader#loader — Property in class ConfigurationLoader
- ConfigurationLoader::load() — Method in class ConfigurationLoader
- Loads config by name
- YamlFileLoader::load() — Method in class YamlFileLoader
- {@inheritdoc}
- $Translator#language — Property in class Translator
M
- MainConfiguration — Class in namespace MaintenanceScreen\Configurations
- ConfigurationInterface implementation for main configuration
- MaintenanceScreen — Class in namespace MaintenanceScreen
- Main class
R
- $ConfigurationLoader#resolver — Property in class ConfigurationLoader
- MaintenanceScreen::render() — Method in class MaintenanceScreen
- Renders maintenance screen for Request to Response
S
- YamlFileLoader::supports() — Method in class YamlFileLoader
- {@inheritdoc}
- MaintenanceScreen::send() — Method in class MaintenanceScreen
- Renders and sends maintenance screen for Request
- Translator::supports() — Method in class Translator
- Checks translation for key exists
T
- TranslatorConfiguration — Class in namespace MaintenanceScreen\Configurations
- ConfigurationInterface implementation for translations !ONLY FOR FILES!
- $MaintenanceScreen#translatorProvider — Property in class MaintenanceScreen
- $MaintenanceScreen#templateRenderer — Property in class MaintenanceScreen
- Translator — Class in namespace MaintenanceScreen
- Translates to some language
- $Translator#translations — Property in class Translator
- Translator::translate() — Method in class Translator
- Translates key
- $ArrayTranslatorProvider#translators — Property in class ArrayTranslatorProvider
V
- MaintenanceScreen::validateRequest() — Method in class MaintenanceScreen
Y
- YamlFileLoader — Class in namespace MaintenanceScreen\FileLoader
- Yaml configuration loader
_
- ConfigurationLoader::__construct() — Method in class ConfigurationLoader
- MaintenanceScreen::__construct() — Method in class MaintenanceScreen
- Translator::__construct() — Method in class Translator
- AbstractTranslatorProvider::_getTranslator() — Method in class AbstractTranslatorProvider
- Makes Translator for language.
- ArrayTranslatorProvider::__construct() — Method in class ArrayTranslatorProvider
- ArrayTranslatorProvider::_getTranslator() — Method in class ArrayTranslatorProvider
- Makes Translator for language.
- ConfigurationTranslatorProvider::__construct() — Method in class ConfigurationTranslatorProvider
- ConfigurationTranslatorProvider::_getTranslator() — Method in class ConfigurationTranslatorProvider
- Makes Translator from config