コード例 #1
0
ファイル: LosSync.php プロジェクト: eric19h/turbulent-wookie
 /**
  * 
  * @param Site $site
  * @param string $losId
  */
 public function createLoanFromLos(Site $site, $losId)
 {
     $loan = new LoanApplication();
     $loan->setLosId($losId);
     $loan->setSite($site);
     $loan->setSource(1);
     $loan->setStatus(6);
     $loan->setCompleted(true);
     $this->upsertLoanFromLos($loan);
     return $loan;
 }