protected function doOperation() { $this->validateFormat(self::PDF_FORMAT); return parent::doOperation(); }