public function __construct($query, array $input = [], $relationsEnabled = true) { $this->query = $query; $this->input = $this->removeEmptyInput($input); $this->relationsEnabled = $relationsEnabled; }