/** * CountFunctionNode constructor. * * @param array $arguments * @param bool $distinct * @param null $alias */ public function __construct(array $arguments = [], bool $distinct = false, string $alias = null) { parent::__construct($arguments, $alias); $this->distinct = $distinct; }
public function __construct(string $name, array $arguments, string $alias = null) { parent::__construct($arguments, $alias); $this->name = $name; }