/** * @param DriverInterface $driver * * @return string */ protected static function getClassByType(DriverInterface $driver) { return $driver->getDocumentClass('Word'); }