you can access types from anywhere by using a type helper function
type_of($key);
it will return the type object
Last updated 1 month ago