public function setPath($path) { $this->path = $path; self::$instance->rewind(); // make sure we reset instance return $this; }