File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -340,19 +340,23 @@ method, which returns an instance of
340340
341341 $section1->writeln('Hello');
342342 $section2->writeln('World!');
343+ sleep(1);
343344 // Output displays "Hello\nWorld!\n"
344345
345346 // overwrite() replaces all the existing section contents with the given content
346347 $section1->overwrite('Goodbye');
348+ sleep(1);
347349 // Output now displays "Goodbye\nWorld!\n"
348350
349351 // clear() deletes all the section contents...
350352 $section2->clear();
353+ sleep(1);
351354 // Output now displays "Goodbye\n"
352355
353356 // ...but you can also delete a given number of lines
354357 // (this example deletes the last two lines of the section)
355358 $section1->clear(2);
359+ sleep(1);
356360 // Output is now completely empty!
357361
358362 // setting the max height of a section will make new lines replace the old ones
You can’t perform that action at this time.
0 commit comments