Ensure that an array of types exist in storage. Create any that don't,
return type_ids for all.
public ensureTypes ( mixed $types ) : array | ||
$types | mixed | An array of types or single type value. Values typed as an integer are assumed to already be an type_id. |
return | array | An array of type_ids. |