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