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

@param PuliResource $resource The resource version.
Stores a version of a resource in the change stream .