/** * {@inheritDoc} */ public function remove(EntityInterface $entity) { /* @var $entity \PHPMentors\PageflowerBundle\Conversation\Conversation */ unset($this->conversationCollection[$entity->getConversationId()]); }