protected function registerServices()
{
foreach ($this->services as $id => $definition) {
$this->bind($id, $definition);
}
foreach ($this->services as $id => $_) {
if ($this->get($id) instanceof ShouldBeRefreshed) {
$this->refreshing[$id] = true;
}
}
}