PhpParser\NodeDumper::__construct PHP Method

__construct() public method

Supported options: * bool dumpComments: Whether comments should be dumped. * bool dumpPositions: Whether line/offset information should be dumped. To dump offset information, the code needs to be passed to dump().
public __construct ( array $options = [] )
$options array Options (see description)
    public function __construct(array $options = [])
    {
        $this->dumpComments = !empty($options['dumpComments']);
        $this->dumpPositions = !empty($options['dumpPositions']);
    }