protected function addAssets()
    {
        $this->assets = ViewService::getAssetManager();
        $this->assets
            ->addCss(__DIR__ . '/../../assets/common/dist/common.css')
            ->addJs(__DIR__ . '/../../assets/common/dist/common.js')
            ->entry('teamelf/common/main');
    }
protected function addAssets()
    {
        $this->assets = ViewService::getAssetManager();
        $this->assets
            ->addCss(__DIR__ . '/../../assets/common/dist/common.css')
            ->addJs(__DIR__ . '/../../assets/common/dist/common.js')
            ->entry('teamelf/common/main');
    }
protected function addAssets ( ) { $ this -> assets = ViewService :: getAssetManager ( ) ; $ this -> assets -> addCss ( __DIR__ . '/../../assets/common/dist/common.css' ) -> addJs ( __DIR__ . '/../../assets/common/dist/common.js' ) -> entry ( 'teamelf/common/main' ) ; }
add common assets
add common assets