protected function loadUri($uri)
    {
        try {
            // Try to load the file through PHP's include().
            // Make sure we don't accidentally create output.
            ob_start();
            $data = include($uri);
            ob_end_clean();

            return $data;
        } catch (Exception $exception) {
            throw new FailedToLoadConfigException(
                sprintf(
                    _('Could not include PHP config file "%1$s". Reason: "%2$s".'),
                    $uri,
                    $exception->getMessage()
                ),
                $exception->getCode(),
                $exception
            );
        }
    }