Lines Matching refs:typeString
194 public static function fromString(string $typeString): SimpleType argument
196 switch (strtolower($typeString)) {
213 return new SimpleType(strtolower($typeString), true);
221 $isArray = preg_match("/(.*)\s*\[\s*\]/", $typeString, $matches);
227 …_match("/array\s*<\s*([A-Za-z0-9_-|]+)?(\s*,\s*)?([A-Za-z0-9_-|]+)?\s*>/i", $typeString, $matches);
236 return new SimpleType($typeString, false);
433 public static function fromString(string $typeString): self { argument
434 $typeString .= "|";
439 $typeStringLength = strlen($typeString);
441 $char = $typeString[$i];
458 … $simpleTypeName = trim(substr($typeString, $simpleTypeOffset, $i - $simpleTypeOffset));