/** * * @param int $id * @return InvoiceBill * @throws IfirmaException */ public static function get($id) { $bill = new InvoiceBillResponse(); $bill->disableSendMethod(); ConnectorAbstract::factory($bill)->receive($id); return $bill; }
/** * * @param int $id * @return InvoiceBill * @throws IfirmaException */ public static function get($id) { require_once dirname(__FILE__) . '/InvoiceBillResponse.php'; $bill = new InvoiceBillResponse(); $bill->disableSendMethod(); ConnectorAbstract::factory($bill)->receive($id); return $bill; }