src/Viserio/Component/Foundation/Config/Processor/DirectoryProcessor.php
public function process(string $data)
    {
        $parameterKey      = $this->parseParameter($data);
        $parameterKeyValue = $this->resolvedOptions['mapper'][$parameterKey] ?? null;

        if ($parameterKeyValue === null) {
            return $data;
        }

        $newValue = $this->container->has($parameterKeyValue[0]) ? $this->container->get($parameterKeyValue[0])->{$parameterKeyValue[1]}() : null;

        if ($newValue === null) {
            return $data;
        }

        return $this->replaceData(
            $data,
            $parameterKey,
            (string) $newValue
        );
    }
public function process(string $data)
    {
        $parameterKey      = $this->parseParameter($data);
        $parameterKeyValue = $this->resolvedOptions['mapper'][$parameterKey] ?? null;

        if ($parameterKeyValue === null) {
            return $data;
        }

        $newValue = $this->container->has($parameterKeyValue[0]) ? $this->container->get($parameterKeyValue[0])->{$parameterKeyValue[1]}() : null;

        if ($newValue === null) {
            return $data;
        }

        return $this->replaceData(
            $data,
            $parameterKey,
            (string) $newValue
        );
    }
{@inheritdoc}