/**
  * {@inheritDoc}
  */
 public function getKey()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getKey', []);
     return parent::getKey();
 }
Example #2
0
 /**
  * @param Taxonomy $taxonomy
  *
  * @return string
  */
 protected function createKey(Taxonomy $taxonomy)
 {
     return $taxonomy->getKey() . '_' . $this->getSlug();
 }