original_string: public static function getAssetsUrl($forceCopyAssets = false, $cdn = false)
      {
          if (!isset(static::$assetsUrl)) {
              if ($cdn) {
                  static::$assetsUrl = '//cdn.jsdelivr.net/foundation/4.3.1/';
              } else {
                  $assetsPath        = static::getAssetsPath();
                  static::$assetsUrl = \Yii::app()->assetManager->publish($assetsPath, true, -1, $forceCopyAssets);
              }
          }
          return static::$assetsUrl;
      }
code: public static function getAssetsUrl($forceCopyAssets = false, $cdn = false)
      {
          if (!isset(static::$assetsUrl)) {
              if ($cdn) {
                  static::$assetsUrl = '//cdn.jsdelivr.net/foundation/4.3.1/';
              } else {
                  $assetsPath        = static::getAssetsPath();
                  static::$assetsUrl = \Yii::app()->assetManager->publish($assetsPath, true, -1, $forceCopyAssets);
              }
          }
          return static::$assetsUrl;
      }
code_tokens: public static function getAssetsUrl ( $ forceCopyAssets = false , $ cdn = false ) { if ( ! isset ( static :: $ assetsUrl ) ) { if ( $ cdn ) { static :: $ assetsUrl = '//cdn.jsdelivr.net/foundation/4.3.1/' ; } else { $ assetsPath = static :: getAssetsPath ( ) ; static :: $ assetsUrl = \ Yii :: app ( ) -> assetManager -> publish ( $ assetsPath , true , - 1 , $ forceCopyAssets ) ; } } return static :: $ assetsUrl ; }
docstring: Returns the url to the published assets folder.
  @param bool $forceCopyAssets whether to force assets registration or not
  @param bool $cdn whether to use CDN version or not
  @return string the url.
docstring_tokens: Returns the url to the published assets folder .