void attach([IoCContainer container])

Source

void attach([IoCContainer container]) {
  _containerState = new ContainerState(container ?? new IoCContainer());
}