/** * Get an account type by ID * * @param int $id * * @return Mgallegos\DecimaAccounting\AccountType */ public function byId($id) { return $this->AccountType->on($this->databaseConnectionName)->find($id); }