Address deprecation of Definition::setPrivate()
Address deprecation of Definition::setPrivate()

Services are private by default since symfony/dependency-injection 4.0,
which means the deprecated call can safely be dropped.

doctrine/DoctrineBundle