Example #1
0
 public static function initializeNewLease()
 {
     $lease = new DrydockLease();
     // Pregenerate a PHID so that the caller can set something up to release
     // this lease before queueing it for activation.
     $lease->setPHID($lease->generatePHID());
     return $lease;
 }