disable() public méthode

Segment will still remain, but won't be translated, and will be handled specially in the building process. Supports method chaining.
public disable ( integer $pos = null ) : Breadcrumb
$pos integer Position of the element
Résultat Breadcrumb
 /**
  * @Test
  */
 public function testIsDisableSegment()
 {
     $this->bread->append('testelement', 'left', false, false);
     $this->bread->disable(0);
     $seg = $this->bread->segment(0);
     $this->assertEquals(true, $seg->get('disabled'));
 }