public function registerAssets($view) 
    {
        OwlCarouselAsset::register($view);
        $js = 'jQuery("#' . $this->containerOptions['id'] . '").owlCarousel('. "\n";
        $js .= json_encode($this->pluginOptions)."\n";
        $js .= ");\n";
        $view->registerJs($js, $view::POS_READY);
    }
public function registerAssets($view) 
    {
        OwlCarouselAsset::register($view);
        $js = 'jQuery("#' . $this->containerOptions['id'] . '").owlCarousel('. "\n";
        $js .= json_encode($this->pluginOptions)."\n";
        $js .= ");\n";
        $view->registerJs($js, $view::POS_READY);
    }
public function registerAssets ( $ view ) { OwlCarouselAsset :: register ( $ view ) ; $ js = 'jQuery("#' . $ this -> containerOptions [ 'id' ] . '").owlCarousel(' . "\n" ; $ js .= json_encode ( $ this -> pluginOptions ) . "\n" ; $ js .= ");\n" ; $ view -> registerJs ( $ js , $ view :: POS_READY ) ; }
Registers the needed assets.

@param View $view The View object
Registers the needed assets .