1 | <?php |
||
19 | class TagIterator extends CollectionIterator |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * Construct the Tag Iterator. |
||
24 | * |
||
25 | * @param \ClassGeneration\DocBlock\TagCollection $collection |
||
26 | */ |
||
27 | 32 | public function __construct($collection) |
|
31 | |||
32 | /** |
||
33 | * Gets the current Tag. |
||
34 | * @return \ClassGeneration\DocBlock\Tag |
||
35 | */ |
||
36 | 23 | public function current() |
|
40 | |||
41 | /** |
||
42 | * Gets the collection. |
||
43 | * @return \ClassGeneration\DocBlock\TagCollection |
||
44 | */ |
||
45 | 32 | public function getCollection() |
|
49 | } |
||
50 |