FML/Script/Features/Menu.php
public function setStartElement(MenuElement $startElement = null)
    {
        $this->startElement = $startElement;
        if ($startElement && !in_array($startElement, $this->elements, true)) {
            array_push($this->elements, $startElement);
        }
        return $this;
    }
public function setStartElement(MenuElement $startElement = null)
    {
        $this->startElement = $startElement;
        if ($startElement && !in_array($startElement, $this->elements, true)) {
            array_push($this->elements, $startElement);
        }
        return $this;
    }
public function setStartElement ( MenuElement $ startElement = null ) { $ this -> startElement = $ startElement ; if ( $ startElement && ! in_array ( $ startElement , $ this -> elements , true ) ) { array_push ( $ this -> elements , $ startElement ) ; } return $ this ; }
Set the Element to start with

@api
@param MenuElement $startElement Start Element
@return static
Set the Element to start with