예제 #1
0
 /**
  * Get a specific reader.
  *
  * @param DriverInterface $driver
  * @param $type
  *
  * @return string
  */
 protected static function getClassByDriverAndType(DriverInterface $driver, $type)
 {
     return $driver->getReaderClassByType('Excel', $type);
 }
예제 #2
0
 /**
  * @param DriverInterface $driver
  * @param                 $type
  *
  * @return string
  */
 private static function getClassByDriverAndType(DriverInterface $driver, $type)
 {
     return $driver->getWriterClassByType('Excel', $type);
 }
예제 #3
0
 /**
  * @param DriverInterface $driver
  *
  * @return string
  */
 protected static function getClassByDriver(DriverInterface $driver)
 {
     return $driver->getWriterClass('Pdf');
 }
예제 #4
0
 /**
  * @param DriverInterface $driver
  *
  * @return string
  */
 protected static function getClassByType(DriverInterface $driver)
 {
     return $driver->getDocumentClass('Word');
 }
예제 #5
0
 /**
  * @param DriverInterface $driver
  *
  * @return string
  */
 protected static function getClassByType(DriverInterface $driver)
 {
     return $driver->getWorkbookClass('Excel');
 }