kernel/private/rest/classes/cache/clear_routes.php
public static function clearCache()
    {
        $expiryHandler = eZExpiryHandler::instance();
        if( $expiryHandler->hasTimestamp( ezpRestRouter::ROUTE_CACHE_KEY ) )
        {
            $expiryHandler->setTimestamp( ezpRestRouter::ROUTE_CACHE_KEY, 0 );
            $expiryHandler->store();
        }
    }
public static function clearCache()
    {
        $expiryHandler = eZExpiryHandler::instance();
        if( $expiryHandler->hasTimestamp( ezpRestRouter::ROUTE_CACHE_KEY ) )
        {
            $expiryHandler->setTimestamp( ezpRestRouter::ROUTE_CACHE_KEY, 0 );
            $expiryHandler->store();
        }
    }
public static function clearCache ( ) { $ expiryHandler = eZExpiryHandler :: instance ( ) ; if ( $ expiryHandler -> hasTimestamp ( ezpRestRouter :: ROUTE_CACHE_KEY ) ) { $ expiryHandler -> setTimestamp ( ezpRestRouter :: ROUTE_CACHE_KEY , 0 ) ; $ expiryHandler -> store ( ) ; } }
Force Route cache expiration,
so that APC cache will be flushed and regenerated next REST call
Force Route cache expiration so that APC cache will be flushed and regenerated next REST call