xp-framework/xp-framework — pull request #197 by thekid (2012-11-02 09:47:40+00:00)
Title: Change ArrayType and MapType constructors to accept component types

This pull request adds constructors to the `lang.ArrayType` and `lang.MapType` classes which accept the component types.

Example:

```php

```

Note
---
This includes a BC break for anyone having constructed these instances directly via `new` and not via `Type::forName()`, `ArrayType::forName()` or `MapType::forName()` respectively. The constructor was never advertised as working in this way or another, but rather just existed due to inheritance from `lang.Type`.