Breaking: #63838 - Changed OpcodeCacheUtility being a service class
See forge#63838
Description
The Opcode
has been migrated to a service class called Opcode
, all methods are not static anymore.
Impact
Calling Opcode
will throw a fatal error.
Affected Installations
All third-party extensions using the utility class will be affected.
Migration
Create an instance of Opcode
and call its method by the object operator ->
.
Example:
GeneralUtility::makeInstance(OpcodeCacheService::class)->clearAllActive($cacheEntryPathAndFilename);
Copied!