public function setDeletedEntities(\SplObjectStorage $entities) { $this->deletedEntities = $entities; }