protected function getFullConfiguration()
    {
        $contextHash = $this->getContextHash();

        if (false === array_key_exists($contextHash, $this->configuration)) {
            $typoScriptArray = ($this->environmentService->isEnvironmentInFrontendMode())
                ? $this->getFrontendTypoScriptConfiguration()
                : $this->getBackendTypoScriptConfiguration();

            $this->configuration[$contextHash] = $this->typoScriptService->convertTypoScriptArrayToPlainArray($typoScriptArray);
        }

        return $this->configuration[$contextHash];
    }