/** * Instantiate property visitor * * @param OutputInterface $output * @param int $maxLineLength */ public function __construct(OutputInterface $output, $options = array()) { $options = array_merge(array('max_line_length' => 120, 'ref_format' => 'uuid'), $options); parent::__construct($output); $this->maxLineLength = $options['max_line_length']; $this->refFormat = $options['ref_format']; }
/** * Instantiate the console dumper visitor * * @param OutputInterface $output * @param bool $identifiers whether to output the node UUID */ public function __construct(OutputInterface $output, $identifiers = false) { parent::__construct($output); $this->identifiers = $identifiers; }