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