cache_class_method short-circuits if the method has already been aliased to the cached proxy. This is problematic because if you require the same file twice, the second pass will overwrite the aliased method with the original definition, thereby eliminating the caching altogether.