public function append(PuliResource $resource);
/** * Stores a version of a resource in the change stream. * * @param PuliResource $resource The resource version. */ protected function storeVersion(PuliResource $resource) { if (null !== $this->changeStream) { $this->changeStream->append($resource); } }