protected function getHooks()
    {
        if (!self::$hooksHaveBeenRetrieved) {
            $hookClasses = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['phpunit']['FrameworkCleanUp'];
            if (is_array($hookClasses)) {
                foreach ($hookClasses as $hookClass) {
                    self::$hooks[] = GeneralUtility::getUserObj($hookClass);
                }
            }

            self::$hooksHaveBeenRetrieved = true;
        }

        return self::$hooks;
    }
protected function getHooks()
    {
        if (!self::$hooksHaveBeenRetrieved) {
            $hookClasses = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['phpunit']['FrameworkCleanUp'];
            if (is_array($hookClasses)) {
                foreach ($hookClasses as $hookClass) {
                    self::$hooks[] = GeneralUtility::getUserObj($hookClass);
                }
            }

            self::$hooksHaveBeenRetrieved = true;
        }

        return self::$hooks;
    }
protected function getHooks ( ) { if ( ! self :: $ hooksHaveBeenRetrieved ) { $ hookClasses = $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXTCONF' ] [ 'phpunit' ] [ 'FrameworkCleanUp' ] ; if ( is_array ( $ hookClasses ) ) { foreach ( $ hookClasses as $ hookClass ) { self :: $ hooks [ ] = GeneralUtility :: getUserObj ( $ hookClass ) ; } } self :: $ hooksHaveBeenRetrieved = true ; } return self :: $ hooks ; }
Gets all hooks for this class.

@return \Tx_Phpunit_Interface_FrameworkCleanupHook[] the hook objects, will be empty if no hooks have been set
Gets all hooks for this class .