public function registerAssetBundle($context, $bundle, $return = false)
    {
        $bundle = str_replace('/', '\\', $bundle);

        $bundle = $this->call($bundle, 'register', [
            isset($context['this']) ? $context['this'] : null,
        ]);

        if ($return) {
            return $bundle;
        }
    }
public function registerAssetBundle($context, $bundle, $return = false)
    {
        $bundle = str_replace('/', '\\', $bundle);

        $bundle = $this->call($bundle, 'register', [
            isset($context['this']) ? $context['this'] : null,
        ]);

        if ($return) {
            return $bundle;
        }
    }
public function registerAssetBundle ( $ context , $ bundle , $ return = false ) { $ bundle = str_replace ( '/' , '\\' , $ bundle ) ; $ bundle = $ this -> call ( $ bundle , 'register' , [ isset ( $ context [ 'this' ] ) ? $ context [ 'this' ] : null , ] ) ; if ( $ return ) { return $ bundle ; } }
Function for additional syntax of registering asset bundles

```
{{ register_asset_bundle('yii/web/JqueryAsset') }}
```

@param array $context context information
@param string $bundle asset bundle class fully qualified name
@param bool $return indicates if AssetBundle should be returned

@return void|AssetBundle
@since 2.0.4
Function for additional syntax of registering asset bundles