__construct() public method

AbstractQueryVisitor constructor.
public __construct ( )
 /**
  * MaxComplexityQueryVisitor constructor.
  *
  * @param int $max max allowed complexity score
  */
 public function __construct($max)
 {
     parent::__construct();
     $this->maxScore = $max;
 }