private function structHasBeenDefined($type) { $this->definedStructs[] = self::typeSignature($type); return $this; }