/** * Parse current tokens * * @return $this */ public function refresh() { $newCode = $this->collection->assemble(); $tokens = Helper::getTokensFromString($newCode); $this->collection->setItems($tokens); return $this; }