public function toggleSegment($key)
    {
        $segment = $this->getSegment($key);
        if (false === $segment->isEnabled()) {
            return $segment->enable();
        }
        return $segment->disable();
    }