private function getResourceCheckerClosure($resourceLoader, $cache)
    {
        $resourceCheckerInstance = function () use ($resourceLoader, $cache) {
            return new ResourceChecker($resourceLoader, $cache);
        };

        return $resourceCheckerInstance;
    }
private function getResourceCheckerClosure($resourceLoader, $cache)
    {
        $resourceCheckerInstance = function () use ($resourceLoader, $cache) {
            return new ResourceChecker($resourceLoader, $cache);
        };

        return $resourceCheckerInstance;
    }
private function getResourceCheckerClosure ( $ resourceLoader , $ cache ) { $ resourceCheckerInstance = function ( ) use ( $ resourceLoader , $ cache ) { return new ResourceChecker ( $ resourceLoader , $ cache ) ; } ; return $ resourceCheckerInstance ; }
Get the resource checker closure for instantiation.

@param $resourceLoader
@param $cache
@return \Closure
Get the resource checker closure for instantiation .