Permalink
9d7a78b Oct 4, 2015
@matthiasnoback @EmanueleMinotto
20 lines (16 sloc) 419 Bytes
<?php
namespace Matthias\SymfonyConsoleForm\Bridge\Transformer;
use Symfony\Component\Console\Question\Question;
use Symfony\Component\Form\Form;
/**
* Transform the given form (field) to a Question used by the Console Component to interact with the user.
*/
interface FormToQuestionTransformer
{
/**
* @param Form $form
*
* @return Question
*/
public function transform(Form $form);
}