示例#1
0
 /**
  * Get the driver.
  *
  * @param $type
  *
  * @return mixed
  */
 protected function getDriver($type)
 {
     return Ledger::resolve('drivers.' . $type . '.excel2007', 'PHPExcel');
 }
示例#2
0
文件: Csv.php 项目: ymnl007/Clerk
 /**
  * Get the driver.
  *
  * @param $type
  *
  * @return mixed
  */
 protected function getDriver($type)
 {
     return Ledger::resolve('drivers.' . $type . '.csv', 'LeagueCsv');
 }
示例#3
0
文件: Pdf.php 项目: ymnl007/Clerk
 /**
  * Get the driver.
  *
  * @param $type
  *
  * @return mixed
  */
 protected function getDriver($type)
 {
     return Ledger::resolve('drivers.' . $type . '.pdf', 'Snappy');
 }
示例#4
0
文件: Word.php 项目: ymnl007/Clerk
 /**
  * Get the driver.
  *
  * @param $type
  *
  * @return mixed
  */
 protected function getDriver($type)
 {
     return Ledger::resolve('drivers.' . $type . '.word2003', 'PHPWord');
 }