/** * Get the driver. * * @param $type * * @return mixed */ protected function getDriver($type) { return Ledger::resolve('drivers.' . $type . '.excel2007', 'PHPExcel'); }
/** * Get the driver. * * @param $type * * @return mixed */ protected function getDriver($type) { return Ledger::resolve('drivers.' . $type . '.csv', 'LeagueCsv'); }
/** * Get the driver. * * @param $type * * @return mixed */ protected function getDriver($type) { return Ledger::resolve('drivers.' . $type . '.pdf', 'Snappy'); }
/** * Get the driver. * * @param $type * * @return mixed */ protected function getDriver($type) { return Ledger::resolve('drivers.' . $type . '.word2003', 'PHPWord'); }