mikehaertl\pdftk\Pdf::dropXmp PHP Method

dropXmp() public method

Newer PDFs can contain both, new style XMP data and old style info directory. PDF readers can use both, but will prefer XMP if present. Since pdftk can only update the info directory you should always add this option when updating PDF info.
public dropXmp ( ) : Pdf
return Pdf the pdf instance for method chaining
    public function dropXmp()
    {
        $this->getCommand()->addOption('drop_xmp');
        return $this;
    }