/** * @inheritdoc */ public function add(EntityInterface $entity) { /** @var Method $entity */ $this->_data[$entity->getFQN()] = $entity; }