Noherczeg\Breadcrumb\Segment::setTranslated PHP Method

setTranslated() public method

setTranslated: Basic setter method.
public setTranslated ( string $value )
$value string
    public function setTranslated($value)
    {
        $this->translated = $value;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @return void Just populates the list
  */
 private function createSegmentList()
 {
     foreach ($this->rawInput as $title => $link) {
         $segment = new Segment($title);
         $segment->setTranslated($title);
         $segment->setLink($link);
         $this->segments[] = $segment;
     }
 }
All Usage Examples Of Noherczeg\Breadcrumb\Segment::setTranslated