コード例 #1
0
 /**
  * @dataProvider getTypes
  *
  * @param int $type
  */
 public function testWriteLn($type)
 {
     $this->output->expects($this->once())->method('writeln')->with('foo', $type);
     $this->decorator->writeln('foo', $type);
 }
コード例 #2
0
ファイル: Export.php プロジェクト: anime-db/catalog-bundle
 /**
  * @param array|string $messages
  * @param int $type
  */
 public function writeln($messages, $type = self::OUTPUT_NORMAL)
 {
     $this->writeToFile($messages, true);
     parent::writeln($messages, $type);
 }