| 1 | <?php |
||
| 4 | abstract class AbstractGenerator implements Generator |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * Alias for getName so that the generator can be directly stringified. |
||
| 8 | * |
||
| 9 | * Note that this will return a different name everytime it is cast to a |
||
| 10 | * string. |
||
| 11 | * |
||
| 12 | * @api |
||
| 13 | * @return string A random name. |
||
| 14 | */ |
||
| 15 | public function __toString() |
||
| 19 | } |
||
| 20 |