original_string: public static function createAbsolute($url, array $params = array())
      {
          $url = self::addParams($url, $params);
          $url = ltrim($url, '/');
          $baseUrl = app()->request->getBaseUrl();
  
          return $baseUrl.'/'.$url;
      }
code: public static function createAbsolute($url, array $params = array())
      {
          $url = self::addParams($url, $params);
          $url = ltrim($url, '/');
          $baseUrl = app()->request->getBaseUrl();
  
          return $baseUrl.'/'.$url;
      }
code_tokens: public static function createAbsolute ( $ url , array $ params = array ( ) ) { $ url = self :: addParams ( $ url , $ params ) ; $ url = ltrim ( $ url , '/' ) ; $ baseUrl = app ( ) -> request -> getBaseUrl ( ) ; return $ baseUrl . '/' . $ url ; }
docstring: Creates absolute url.
  
  @param string $url
  @param array  $params Assosiative array in format [key => value ] for GET parameters
  
  @return string
docstring_tokens: Creates absolute url .