public function __construct($line) { $this->line = $line; $this->length = mb_strlen($line, 'utf-8'); }