private function addApiClassesByGlobalArray(RestlerExtended $restler)
    {
        $addApiController = $GLOBALS['TYPO3_Restler']['addApiClass'];
        if (is_array($addApiController)) {
            foreach ($addApiController as $apiEndpoint => $apiControllers) {
                $uniqueApiControllers = array_unique($apiControllers);
                foreach ($uniqueApiControllers as $apiController) {
                    $restler->addAPIClass($apiController, $apiEndpoint);
                }
            }
        }
    }
private function addApiClassesByGlobalArray(RestlerExtended $restler)
    {
        $addApiController = $GLOBALS['TYPO3_Restler']['addApiClass'];
        if (is_array($addApiController)) {
            foreach ($addApiController as $apiEndpoint => $apiControllers) {
                $uniqueApiControllers = array_unique($apiControllers);
                foreach ($uniqueApiControllers as $apiController) {
                    $restler->addAPIClass($apiController, $apiEndpoint);
                }
            }
        }
    }
private function addApiClassesByGlobalArray ( RestlerExtended $ restler ) { $ addApiController = $ GLOBALS [ 'TYPO3_Restler' ] [ 'addApiClass' ] ; if ( is_array ( $ addApiController ) ) { foreach ( $ addApiController as $ apiEndpoint => $ apiControllers ) { $ uniqueApiControllers = array_unique ( $ apiControllers ) ; foreach ( $ uniqueApiControllers as $ apiController ) { $ restler -> addAPIClass ( $ apiController , $ apiEndpoint ) ; } } } }
Add API-Controller-Classes that are registered by global array

@param RestlerExtended $restler
Add API - Controller - Classes that are registered by global array