You are here

private function ClassMethods::resetCaches in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-hydrator/src/ClassMethods.php \Zend\Hydrator\ClassMethods::resetCaches()

Reset all local hydration/extraction caches

4 calls to ClassMethods::resetCaches()
ClassMethods::addFilter in vendor/zendframework/zend-hydrator/src/ClassMethods.php
Add a new filter to take care of what needs to be hydrated. To exclude e.g. the method getServiceLocator:
ClassMethods::removeFilter in vendor/zendframework/zend-hydrator/src/ClassMethods.php
Remove a filter from the composition. To not extract "has" methods, you simply need to unregister it
ClassMethods::removeNamingStrategy in vendor/zendframework/zend-hydrator/src/ClassMethods.php
Removes the naming strategy
ClassMethods::setNamingStrategy in vendor/zendframework/zend-hydrator/src/ClassMethods.php
Adds the given naming strategy

File

vendor/zendframework/zend-hydrator/src/ClassMethods.php, line 264

Class

ClassMethods

Namespace

Zend\Hydrator

Code

private function resetCaches() {
  $this->hydrationMethodsCache = $this->extractionMethodsCache = [];
}