public function setChangedEntities(\SplObjectStorage $entities) { $this->changedEntities = $entities; }