public function __construct(ConfigurationReader $configuration) { $this->csConvertor = TYPO3_MODE == 'BE' ? $GLOBALS['LANG']->csConvObj : $GLOBALS['TSFE']->csConvObj; $this->configuration = $configuration; }