original_string: protected function getAssetScheme($asset)
      {
          if (starts_with($asset, ['//', 'http://', 'https://'])) {
              return $asset;
          }
  
          if (substr($asset, 0, 1) == '/') {
              $asset = Url::asset($asset);
          }
  
          return $asset;
      }
code: protected function getAssetScheme($asset)
      {
          if (starts_with($asset, ['//', 'http://', 'https://'])) {
              return $asset;
          }
  
          if (substr($asset, 0, 1) == '/') {
              $asset = Url::asset($asset);
          }
  
          return $asset;
      }
code_tokens: protected function getAssetScheme ( $ asset ) { if ( starts_with ( $ asset , [ '//' , 'http://' , 'https://' ] ) ) { return $ asset ; } if ( substr ( $ asset , 0 , 1 ) == '/' ) { $ asset = Url :: asset ( $ asset ) ; } return $ asset ; }
docstring: Internal helper, get asset scheme
  @param string $asset Specifies a path (URL) to the asset.
  @return string
docstring_tokens: Internal helper get asset scheme