protected function register($className, $type, $requiredBaseClass) {
        // check if the class is available for TYPO3 before registering the driver
        if (!class_exists($className)) {
            throw new \InvalidArgumentException('Class ' . $className . ' does not exist.', 1462883324);
        }

        if (!is_subclass_of($className, $requiredBaseClass)) {
            throw new \InvalidArgumentException('Parser ' . $className . ' needs to extend the ' . $requiredBaseClass . '.', 1462883325);
        }

        $this->classMap[$type] = $className;
    }
protected function register($className, $type, $requiredBaseClass) {
        // check if the class is available for TYPO3 before registering the driver
        if (!class_exists($className)) {
            throw new \InvalidArgumentException('Class ' . $className . ' does not exist.', 1462883324);
        }

        if (!is_subclass_of($className, $requiredBaseClass)) {
            throw new \InvalidArgumentException('Parser ' . $className . ' needs to extend the ' . $requiredBaseClass . '.', 1462883325);
        }

        $this->classMap[$type] = $className;
    }
protected function register ( $ className , $ type , $ requiredBaseClass ) { // check if the class is available for TYPO3 before registering the driver if ( ! class_exists ( $ className ) ) { throw new \ InvalidArgumentException ( 'Class ' . $ className . ' does not exist.' , 1462883324 ) ; } if ( ! is_subclass_of ( $ className , $ requiredBaseClass ) ) { throw new \ InvalidArgumentException ( 'Parser ' . $ className . ' needs to extend the ' . $ requiredBaseClass . '.' , 1462883325 ) ; } $ this -> classMap [ $ type ] = $ className ; }
Can be used to register an implementation in the classMap.

@param string $className
@param string $type
@param string $requiredBaseClass
Can be used to register an implementation in the classMap .