public function setLines($lines)
    {
        if (!is_array($lines)) {
            $this->lines = array(
                $lines
            );
        } else {
            $this->lines = $lines;
        }

        return $this;
    }
public function setLines($lines)
    {
        if (!is_array($lines)) {
            $this->lines = array(
                $lines
            );
        } else {
            $this->lines = $lines;
        }

        return $this;
    }
public function setLines ( $ lines ) { if ( ! is_array ( $ lines ) ) { $ this -> lines = array ( $ lines ) ; } else { $ this -> lines = $ lines ; } return $ this ; }
Set the paths to write in .gitignore file

@param array $lines

@return self
Set the paths to write in . gitignore file