public function setAggregateRootObjects(\SplObjectStorage $objects) { $this->aggregateRootObjects = $objects; }