/** * Return bill data in json format. * * @param int $billId * @return mixed */ public function get($billId) { $billsHelper = new Bills(); // todo check if bill belongs to current user return $billsHelper->getBill($billId); }