protected function storeVersion(PuliResource $resource) { if (null !== $this->changeStream) { $this->changeStream->append($resource); } }