public static function register($className)
    {
        $dispatcher = GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');

        $dispatcher->connect(
            'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend',
            'afterInsertObject',
            $className,
            'afterInsertObject'
        );

        $dispatcher->connect(
            'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend',
            'afterUpdateObject',
            $className,
            'afterUpdateObject'
        );

        $dispatcher->connect(
            'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend',
            'afterRemoveObject',
            $className,
            'afterRemoveObject'
        );
    }
public static function register($className)
    {
        $dispatcher = GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');

        $dispatcher->connect(
            'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend',
            'afterInsertObject',
            $className,
            'afterInsertObject'
        );

        $dispatcher->connect(
            'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend',
            'afterUpdateObject',
            $className,
            'afterUpdateObject'
        );

        $dispatcher->connect(
            'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend',
            'afterRemoveObject',
            $className,
            'afterRemoveObject'
        );
    }
public static function register ( $ className ) { $ dispatcher = GeneralUtility :: makeInstance ( 'TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher' ) ; $ dispatcher -> connect ( 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend' , 'afterInsertObject' , $ className , 'afterInsertObject' ) ; $ dispatcher -> connect ( 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend' , 'afterUpdateObject' , $ className , 'afterUpdateObject' ) ; $ dispatcher -> connect ( 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend' , 'afterRemoveObject' , $ className , 'afterRemoveObject' ) ; }
Register the given entity slot class.

@param  string  $className  FQCN
@return  void
Register the given entity slot class .