Lines Matching refs:typeString
245 public static function fromString(string $typeString): SimpleType argument
247 switch (strtolower($typeString)) {
263 return new SimpleType(strtolower($typeString), true);
273 $isArray = preg_match("/(.*)\s*\[\s*\]/", $typeString, $matches);
279 …_match("/array\s*<\s*([A-Za-z0-9_-|]+)?(\s*,\s*)?([A-Za-z0-9_-|]+)?\s*>/i", $typeString, $matches);
288 return new SimpleType($typeString, false);
585 public static function fromString(string $typeString): self { argument
586 $typeString .= "|";
592 $typeStringLength = strlen($typeString);
594 $char = $typeString[$i];
612 … $simpleTypeName = trim(substr($typeString, $simpleTypeOffset, $i - $simpleTypeOffset));