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