~ubuntu-branches/ubuntu/wily/symfony/wily

« back to all changes in this revision

Viewing changes to src/Symfony/Component/Console/Tests/Fixtures/Style/SymfonyStyle/command/command_3.php

  • Committer: Package Import Robot
  • Author(s): David Prévot
  • Date: 2015-06-14 17:15:34 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: package-import@ubuntu.com-20150614171534-ta2n2x2hapjyq89h
Tags: upstream-2.7.1+dfsg
Import upstream version 2.7.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
use Symfony\Component\Console\Input\InputInterface;
 
4
use Symfony\Component\Console\Output\OutputInterface;
 
5
use Symfony\Component\Console\Style\SymfonyStyle;
 
6
 
 
7
//Ensure has single blank line between two titles
 
8
return function (InputInterface $input, OutputInterface $output) {
 
9
    $output = new SymfonyStyle($input, $output);
 
10
    $output->title('First title');
 
11
    $output->title('Second title');
 
12
};