Can I do a line break like this \'\\n\'?
\'\\n\'
Or do I must use double quotes - \"\\n\"?
\"\\n\"
just add
.PHP_EOL;
to the end of your line using single quotes and you will have a new line