Update MemoryManager.php

Private function to new naming convention