if ('' !==
$c &&
$isProxyCandidate && !
$definition->
isShared()) { $c =
implode("\n",
array_map(fn ($line) =>
$line ? ' '.
$line :
$line,
explode("\n",
$c)));
$code .= " static \$include = true;\n\n";
$code .= " if (\$include) {\n";
$code .=
$c;
$code .= " \$include = false;\n";
$code .= " }\n\n";
} else { $code .=
$c;
} $c =
$this->
addInlineService($id,
$definition);
if (!
$isProxyCandidate && !
$definition->
isShared()) { $c =
implode("\n",
array_map(fn ($line) =>
$line ? ' '.
$line :
$line,
explode("\n",
$c)));
$lazyloadInitialization =
$definition->
isLazy() ? ', $lazyLoad = true' : '';
$c =
sprintf(" %s = function (\$container%s) {\n%s };\n\n return %1\$s(\$container);\n",
$factory,
$lazyloadInitialization,
$c);
} $code .=
$c;
}