/**
  * Gets a keyword tag from configuration
  *
  * @param string $keyword
  *
  * @return string
  */
 protected function _buildKeywordMask($keyword)
 {
     return sprintf($this->config->get('keywords_mask'), $keyword);
 }
 /**
  * Gets a DOM unique ID
  *
  * @param   string       $reference  A reference used to store the ID (and retrieve it - by default, a uniqid)
  * @param   null|string  $id
  *
  * @return  string                  The unique ID created or the existing one for the reference if so
  */
 public function get($reference, $id = null)
 {
     return $this->has($reference) ? $this->dom_ids->get($reference) : $this->set($id ?: $reference, $reference);
 }
 /**
  * Gets current cached content of an index
  *
  * @param string $index
  * @return mixed
  */
 public function getCache($index)
 {
     return $this->_cache->get($index);
 }