core-bundle/src/Config/Loader/PhpFileLoader.php
public function load($file, $type = null): string
    {
        [$code, $namespace] = $this->parseFile((string) $file);

        $code = $this->stripLegacyCheck($code);

        if (false !== $namespace && 'namespaced' === $type) {
            $code = sprintf("\nnamespace %s {%s}\n", $namespace, $code);
        }

        return $code;
    }
public function load($file, $type = null): string
    {
        [$code, $namespace] = $this->parseFile((string) $file);

        $code = $this->stripLegacyCheck($code);

        if (false !== $namespace && 'namespaced' === $type) {
            $code = sprintf("\nnamespace %s {%s}\n", $namespace, $code);
        }

        return $code;
    }
public function load ( $ file , $ type = null ) : string { [ $ code , $ namespace ] = $ this -> parseFile ( ( string ) $ file ) ; $ code = $ this -> stripLegacyCheck ( $ code ) ; if ( false !== $ namespace && 'namespaced' === $ type ) { $ code = sprintf ( "\nnamespace %s {%s}\n" , $ namespace , $ code ) ; } return $ code ; }
{@inheritdoc}
{