src/Comely/IO/Yaml/Parser.php
public function setEOL(string $eol = PHP_EOL): self
    {
        if (!in_array($eol, ["\n", "\r\n"])) {
            throw new ParserException('Invalid EOL character');
        }

        $this->eolChar = $eol;
        return $this;
    }
public function setEOL(string $eol = PHP_EOL): self
    {
        if (!in_array($eol, ["\n", "\r\n"])) {
            throw new ParserException('Invalid EOL character');
        }

        $this->eolChar = $eol;
        return $this;
    }
public function setEOL ( string $ eol = PHP_EOL ) : self { if ( ! in_array ( $ eol , [ "\n" , "\r\n" ] ) ) { throw new ParserException ( 'Invalid EOL character' ) ; } $ this -> eolChar = $ eol ; return $ this ; }
Set EOL character
@param string $eol
@return Parser
Set EOL character