/** * @param Site $site * @param $losId */ public function createLoanFromLos(Site $site, $losId) { $this->setLosSync($site); if (isset($this->losSync)) { $this->losSync->createLoanFromLos($site, $losId); } }