Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Clear au moment du START serveur #97

Open
bfoujols opened this issue May 31, 2024 · 0 comments
Open

[NEW] Clear au moment du START serveur #97

bfoujols opened this issue May 31, 2024 · 0 comments

Comments

@bfoujols
Copy link
Contributor

Afin d'améliorer la visibilité, la commande clear pourra permettre de voir les informations importantes

#console Output Sections

        $section1 = $output->section();
        $section2 = $output->section();

        $section1->writeln('Hello');
        $section2->writeln('World!');
        sleep(1);
        // Output displays "Hello\nWorld!\n"

        // overwrite() replaces all the existing section contents with the given content
        $section1->overwrite('Goodbye');
        sleep(1);
        // Output now displays "Goodbye\nWorld!\n"

        // clear() deletes all the section contents...
        $section2->clear();
@bfoujols bfoujols changed the title Clear au moment du START serveur [NEW] Clear au moment du START serveur Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant