public function __construct($filename = null, $source = null, $encoding = 'UTF-8') { $this->filename = $filename; $this->source = $source; $this->encoding = $encoding; $this->lines = $this->buildLinesFromSource($source); return $this; }