public function addTag(Dklab_Cache_Frontend_Tag $tag)
    {
        if ($tag->getBackend() !== $this->_getBackend()) {
            \Zend_Cache::throwException("Backends for tag " . get_class($tag) . " and slot " . get_class($this) . " must be same");
        }
        $this->_tags[] = $tag;
    }
public function addTag(Dklab_Cache_Frontend_Tag $tag)
    {
        if ($tag->getBackend() !== $this->_getBackend()) {
            \Zend_Cache::throwException("Backends for tag " . get_class($tag) . " and slot " . get_class($this) . " must be same");
        }
        $this->_tags[] = $tag;
    }
public function addTag ( Dklab_Cache_Frontend_Tag $ tag ) { if ( $ tag -> getBackend ( ) !== $ this -> _getBackend ( ) ) { \ Zend_Cache :: throwException ( "Backends for tag " . get_class ( $ tag ) . " and slot " . get_class ( $ this ) . " must be same" ) ; } $ this -> _tags [ ] = $ tag ; }
Associates a tag with current slot.

@param Dklab_Cache_Tag $tag   Tag object to associate.
@return void
Associates a tag with current slot .