public function withProperties($properties) { $this->properties = collect($properties); return $this; }