public setTranslated ( string $value ) | ||
$value | string |
public function setTranslated($value)
{
$this->translated = $value;
}
/** * @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; } }