Puli\Repository\Api\ChangeStream\ChangeStream::clear PHP Метод

clear() публичный Метод

Removes all contents of the stream.
public clear ( )
    public function clear();

Usage Example

 /**
  * Clears the change stream.
  */
 protected function clearVersions()
 {
     if (null !== $this->changeStream) {
         $this->changeStream->clear();
     }
 }