Lines Matching refs:typeString
254 public static function fromString(string $typeString): SimpleType argument
256 switch (strtolower($typeString)) {
272 return new SimpleType(strtolower($typeString), true);
282 $isArray = preg_match("/(.*)\s*\[\s*\]/", $typeString, $matches);
288 …_match("/array\s*<\s*([A-Za-z0-9_|-]+)?(\s*,\s*)?([A-Za-z0-9_|-]+)?\s*>/i", $typeString, $matches);
297 return new SimpleType($typeString, false);
598 public static function fromString(string $typeString): self { argument
599 $typeString .= "|";
605 $typeStringLength = strlen($typeString);
607 $char = $typeString[$i];
625 … $simpleTypeName = trim(substr($typeString, $simpleTypeOffset, $i - $simpleTypeOffset));