* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Isolated\Symfony\Component\Form\Console\Helper; use Isolated\Symfony\Component\Console\Helper\DescriptorHelper as BaseDescriptorHelper; use Isolated\Symfony\Component\Form\Console\Descriptor\JsonDescriptor; use Isolated\Symfony\Component\Form\Console\Descriptor\TextDescriptor; use Isolated\Symfony\Component\HttpKernel\Debug\FileLinkFormatter; /** * @author Yonel Ceruto * * @internal */ class DescriptorHelper extends BaseDescriptorHelper { public function __construct(FileLinkFormatter $fileLinkFormatter = null) { $this->register('txt', new TextDescriptor($fileLinkFormatter))->register('json', new JsonDescriptor()); } }