public function __construct($properties, $graphType) { $this->properties = $properties; $this->graphType = $graphType; }