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