First git commit
This commit is contained in:
commit
a830722f4c
100 changed files with 38622 additions and 0 deletions
27
src/Questionnaire/Parser/ParserInterface.php
Normal file
27
src/Questionnaire/Parser/ParserInterface.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
namespace Questionnaire\Parser;
|
||||
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
interface ParserInterface
|
||||
{
|
||||
/**
|
||||
* Parses data into given output.
|
||||
*/
|
||||
public function stream(OutputInterface $output);
|
||||
|
||||
/**
|
||||
* Captures the stream output into a string buffer.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function capture();
|
||||
|
||||
/**
|
||||
* Writes the stream output into given file.
|
||||
*
|
||||
* @param string $file
|
||||
*/
|
||||
public function save($file);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue