try { (new CheckCircularReferencesPass())->
process($this->container
);
} catch (ServiceCircularReferenceException
$e) { $path =
$e->
getPath();
end($path);
$path[key($path)] .= '". Try running "composer require symfony/proxy-manager-bridge';
throw new ServiceCircularReferenceException($e->
getServiceId(),
$path);
} } $this->
analyzeReferences();
$this->docStar =
$options['debug'
] ? '*' : '';
if (!
empty($options['file'
]) &&
is_dir($dir = \
dirname($options['file'
]))) { // Build a regexp where the first root dirs are mandatory,
// but every other sub-dir is optional up to the full path in $dir
// Mandate at least 1 root dir and not more than 5 optional dirs.
$dir =
explode(\DIRECTORY_SEPARATOR,
realpath($dir));
$i = \
count($dir);
if (2 +
(int) ('\\' === \DIRECTORY_SEPARATOR
) <=
$i) {