summaryrefslogtreecommitdiff
path: root/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_17.php
blob: 311e6b3928478540e56f79fe2d1a50cb8c7d76b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;

//Ensure symfony style helper methods handle trailing backslashes properly when decorating user texts
return function (InputInterface $input, OutputInterface $output) {
    $output = new SymfonyStyle($input, $output);

    $output->title('Title ending with \\');
    $output->section('Section ending with \\');
};