TYPO3 v15 dev-main snapshot ()
This commit is contained in:
+42
@@ -0,0 +1,42 @@
|
||||
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
.. _breaking-63838:
|
||||
|
||||
===================================================================
|
||||
Breaking: #63838 - Changed OpcodeCacheUtility being a service class
|
||||
===================================================================
|
||||
|
||||
See :issue:`63838`
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
The `OpcodeCacheUtility` has been migrated to a service class called `OpcodeCacheService`, all methods are not static anymore.
|
||||
|
||||
|
||||
Impact
|
||||
======
|
||||
|
||||
Calling `OpcodeCacheUtility` will throw a fatal error.
|
||||
|
||||
|
||||
Affected Installations
|
||||
======================
|
||||
|
||||
All third-party extensions using the utility class will be affected.
|
||||
|
||||
|
||||
Migration
|
||||
=========
|
||||
|
||||
Create an instance of `OpcodeCacheService` and call its method by the object operator `->`.
|
||||
|
||||
Example:
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
GeneralUtility::makeInstance(OpcodeCacheService::class)->clearAllActive($cacheEntryPathAndFilename);
|
||||
|
||||
|
||||
.. index:: PHP-API
|
||||
Reference in New Issue
Block a user