src/Behaviour/CacheInvalidator.php
public function removeEntityToBeInvalidated(PrimaryKeyInterface $object) {
        $settings = $this->getCacheInvalidationSettings();
        $info = $this->getInfo($object);
        $settings = array_filter($settings, function($value) use($info) {
            return $value != $info;
        });
        $this->setCacheInvalidationSettings($settings);
    }
public function removeEntityToBeInvalidated(PrimaryKeyInterface $object) {
        $settings = $this->getCacheInvalidationSettings();
        $info = $this->getInfo($object);
        $settings = array_filter($settings, function($value) use($info) {
            return $value != $info;
        });
        $this->setCacheInvalidationSettings($settings);
    }
Lets `$this` know that all the caches of `$object` should no longer be invalidated whenever `$this` changes.

@param \Oxygen\Data\Behaviour\PrimaryKeyInterface $object