original_string: public function getPreviewURL($locale = null)
      {
          $token = app()->make(TokenManager::class)
              ->makeNewToken('preview_nodes');
  
          $url = $this->getSiteURL($locale);
  
          return $url . '?preview_nodes=' . $token;
      }
code: public function getPreviewURL($locale = null)
      {
          $token = app()->make(TokenManager::class)
              ->makeNewToken('preview_nodes');
  
          $url = $this->getSiteURL($locale);
  
          return $url . '?preview_nodes=' . $token;
      }
code_tokens: public function getPreviewURL ( $ locale = null ) { $ token = app ( ) -> make ( TokenManager :: class ) -> makeNewToken ( 'preview_nodes' ) ; $ url = $ this -> getSiteURL ( $ locale ) ; return $ url . '?preview_nodes=' . $ token ; }
docstring: Returns the preview url
  
  @param string $locale
  @return string
docstring_tokens: Returns the preview url