Yaffs site version 1.1
[yaffs-website] / vendor / drush / drush / lib / Drush / Command / DrushOutputAdapter.php
1 <?php
2
3 /**
4  * @file
5  * Definition of Drush\Command\DrushOutputAdapter.
6  */
7
8 namespace Drush\Command;
9
10 use Symfony\Component\Console\Output\Output;
11
12 /**
13  * Adapter for Symfony Console OutputInterface
14  *
15  * This class can serve as a stand-in wherever an OutputInterface
16  * is needed.  It calls through to drush_print().
17  * This object should not be used directly; it exists only in
18  * the Drush 8.x branch.
19  */
20 class DrushOutputAdapter extends Output {
21     protected function doWrite($message, $newline)
22     {
23         drush_print($message, 0, null, $newline);
24     }
25 }