public function __construct(string $element, string $toString) { $this->element = $element; $this->toString = $toString; }