public function setLines($lines) {
        if (!is_array($lines)) {
            throw new AutoGitIgnoreInvalidParameterException("$lines must be an array. Each value is one line");
        }
        if (current($lines) !== $this->startMarker) {
            array_unshift($lines, $this->startMarker);
        }
        if (end($lines) !== $this->endMarker) {
            $lines[] = $this->endMarker;
        }
        $this->autoLines = $lines;
        return $this;
    }
public function setLines($lines) {
        if (!is_array($lines)) {
            throw new AutoGitIgnoreInvalidParameterException("$lines must be an array. Each value is one line");
        }
        if (current($lines) !== $this->startMarker) {
            array_unshift($lines, $this->startMarker);
        }
        if (end($lines) !== $this->endMarker) {
            $lines[] = $this->endMarker;
        }
        $this->autoLines = $lines;
        return $this;
    }
public function setLines ( $ lines ) { if ( ! is_array ( $ lines ) ) { throw new AutoGitIgnoreInvalidParameterException ( "$lines must be an array. Each value is one line" ) ; } if ( current ( $ lines ) !== $ this -> startMarker ) { array_unshift ( $ lines , $ this -> startMarker ) ; } if ( end ( $ lines ) !== $ this -> endMarker ) { $ lines [ ] = $ this -> endMarker ; } $ this -> autoLines = $ lines ; return $ this ; }
Set the lines to appear between the makers

@param type $lines
@throws AutoGitIgnoreInvalidParameterException
@return self
Set the lines to appear between the makers