public function DescriptorHelper::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Helper/DescriptorHelper.php \Symfony\Component\Console\Helper\DescriptorHelper::__construct()
Constructor.
File
- vendor/
symfony/ console/ Helper/ DescriptorHelper.php, line 36
Class
- DescriptorHelper
- This class adds helper method to describe objects in various formats.
Namespace
Symfony\Component\Console\HelperCode
public function __construct() {
$this
->register('txt', new TextDescriptor())
->register('xml', new XmlDescriptor())
->register('json', new JsonDescriptor())
->register('md', new MarkdownDescriptor());
}