public function __construct($content) { $this->content = $content; $this->size = strlen($content); $this->pos = 0; }