1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-11 16:16:14 +01:00
phorge-phorge/src/applications/phortune/pdf/PhabricatorPDFInfoObject.php
epriestley f5c380bfc9 Add very basic support for generating PDF documents
Summary: Ref T13358. This is very minimal, but technically works. The eventual goal is to generate PDF invoices to make my life easier when I have to interact with Enterprise Vendor Procurement.

Test Plan: {F6672439}

Maniphest Tasks: T13358

Differential Revision: https://secure.phabricator.com/D20692
2019-08-01 10:50:24 -07:00

11 lines
248 B
PHP

<?php
final class PhabricatorPDFInfoObject
extends PhabricatorPDFObject {
final protected function writeObject() {
$this->writeLine('/Producer (Phabricator 20190801)');
$this->writeLine('/CreationDate (D:%s)', date('YmdHis'));
}
}