Adapter/AdapterDeferredTrait.php
protected function clearDeferredByPrefixes(array $prefixes): void
    {
        $deferred = AdapterUtil::getPropertyValue($this, 'deferred');

        foreach ($prefixes as $prefix) {
            foreach ($deferred as $key => $value) {
                if ('' === $prefix || 0 === strpos($key, $prefix)) {
                    unset($deferred[$key]);
                }
            }
        }

        AdapterUtil::setPropertyValue($this, 'deferred', $deferred);
    }
protected function clearDeferredByPrefixes(array $prefixes): void
    {
        $deferred = AdapterUtil::getPropertyValue($this, 'deferred');

        foreach ($prefixes as $prefix) {
            foreach ($deferred as $key => $value) {
                if ('' === $prefix || 0 === strpos($key, $prefix)) {
                    unset($deferred[$key]);
                }
            }
        }

        AdapterUtil::setPropertyValue($this, 'deferred', $deferred);
    }
protected function clearDeferredByPrefixes ( array $ prefixes ) : void { $ deferred = AdapterUtil :: getPropertyValue ( $ this , 'deferred' ) ; foreach ( $ prefixes as $ prefix ) { foreach ( $ deferred as $ key => $ value ) { if ( '' === $ prefix || 0 === strpos ( $ key , $ prefix ) ) { unset ( $ deferred [ $ key ] ) ; } } } AdapterUtil :: setPropertyValue ( $ this , 'deferred' , $ deferred ) ; }
Clear the deferred by prefixes.

@param string[] $prefixes The prefixes
Clear the deferred by prefixes .