1 | <?php |
||
29 | final class Collection extends AbstractList |
||
30 | { |
||
31 | |||
32 | /** @var Fqsen */ |
||
33 | private $fqsen; |
||
34 | |||
35 | /** |
||
36 | * Initializes this representation of an array with the given Type or Fqsen. |
||
37 | * |
||
38 | * @param Type $valueType |
||
39 | * @param Type $keyType |
||
40 | */ |
||
41 | public function __construct(Fqsen $fqsen, Type $valueType, Type $keyType = null) |
||
47 | |||
48 | /** |
||
49 | * Returns the FQSEN associated with this object. |
||
50 | * |
||
51 | * @return Fqsen |
||
52 | */ |
||
53 | public function getFqsen() |
||
57 | |||
58 | /** |
||
59 | * Returns a rendered output of the Type as it would be used in a DocBlock. |
||
60 | * |
||
61 | * @return string |
||
62 | */ |
||
63 | public function __toString() |
||
71 | } |
||
72 |