Codice PHP:
$file = new WaterMark(); 
$file->wmText"Ciccio";

public 
$pdf$file$newFile,$wmText