protected function addAssetsFromContainer(AssetCollection &$assetsCollection, $parameter)
    {
        if ( ! $this->container->hasParameter($parameter)) {
            return;
        }

        $assets = $this->container->getParameter($parameter);
        $assetsCollection->addRange($assets);
    }
protected function addAssetsFromContainer(AssetCollection &$assetsCollection, $parameter)
    {
        if ( ! $this->container->hasParameter($parameter)) {
            return;
        }

        $assets = $this->container->getParameter($parameter);
        $assetsCollection->addRange($assets);
    }
protected function addAssetsFromContainer ( AssetCollection & $ assetsCollection , $ parameter ) { if ( ! $ this -> container -> hasParameter ( $ parameter ) ) { return ; } $ assets = $ this -> container -> getParameter ( $ parameter ) ; $ assetsCollection -> addRange ( $ assets ) ; }
Adds a range of assets to the assets collection fetching from the container

@param AssetCollection $assetsCollection
@param string            $parameter        The parameter to fetch from the Container
Adds a range of assets to the assets collection fetching from the container