Changeset View
Changeset View
Standalone View
Standalone View
src/filesystem/linesofalarge/LinesOfALarge.php
| Show All 27 Lines | |||||
| * last part of the file is returned as the last $line, even if it does not | * last part of the file is returned as the last $line, even if it does not | ||||
| * include a terminating character (if it does, the terminating character is | * include a terminating character (if it does, the terminating character is | ||||
| * stripped). | * stripped). | ||||
| * | * | ||||
| * @task config Configuration | * @task config Configuration | ||||
| * @task internals Internals | * @task internals Internals | ||||
| * @task iterator Iterator Interface | * @task iterator Iterator Interface | ||||
| */ | */ | ||||
| abstract class LinesOfALarge implements Iterator { | abstract class LinesOfALarge extends Phobject implements Iterator { | ||||
| private $pos; | private $pos; | ||||
| private $buf; | private $buf; | ||||
| private $num; | private $num; | ||||
| private $line; | private $line; | ||||
| private $valid; | private $valid; | ||||
| private $eof; | private $eof; | ||||
| ▲ Show 20 Lines • Show All 166 Lines • Show Last 20 Lines | |||||