protected function shouldCallWithClassName($className, $methodName, $id, $command = '') { $cacheKey = $className . $methodName . $id . $command; return empty(self::$trackedMethodCalls[$cacheKey]); }