public function stateAssign($contentId)
    {
        if ($this->allCleared === true || $this->isSwitchedOff()) {
            return;
        }

        $this->cache->invalidateTags(['content-' . $contentId]);
    }
public function stateAssign($contentId)
    {
        if ($this->allCleared === true || $this->isSwitchedOff()) {
            return;
        }

        $this->cache->invalidateTags(['content-' . $contentId]);
    }
public function stateAssign ( $ contentId ) { if ( $ this -> allCleared === true || $ this -> isSwitchedOff ( ) ) { return ; } $ this -> cache -> invalidateTags ( [ 'content-' . $ contentId ] ) ; }
Clear object state assignment persistence cache by content id.

In legacy kernel used when assigning statet to an content.

@param int $contentId
Clear object state assignment persistence cache by content id .