src/Phassets/Phassets.php
private function loadAssetsManager($class)
    {
        if (isset($this->assetsMergerInstances[$class])) {
            return true;
        }

        $merger = $this->objectsFactory->buildAssetsMerger($class, $this->loadedConfigurator);

        if ($merger === false) {
            $this->loadedLogger->warning('Could not load ' . $class . ' merger.');

            return false;
        }

        $this->assetsMergerInstances[$class] = $merger;
        $this->loadedLogger->debug('Assets merger ' . $class . ' found & loaded.');

        return true;
    }
private function loadAssetsManager($class)
    {
        if (isset($this->assetsMergerInstances[$class])) {
            return true;
        }

        $merger = $this->objectsFactory->buildAssetsMerger($class, $this->loadedConfigurator);

        if ($merger === false) {
            $this->loadedLogger->warning('Could not load ' . $class . ' merger.');

            return false;
        }

        $this->assetsMergerInstances[$class] = $merger;
        $this->loadedLogger->debug('Assets merger ' . $class . ' found & loaded.');

        return true;
    }
private function loadAssetsManager ( $ class ) { if ( isset ( $ this -> assetsMergerInstances [ $ class ] ) ) { return true ; } $ merger = $ this -> objectsFactory -> buildAssetsMerger ( $ class , $ this -> loadedConfigurator ) ; if ( $ merger === false ) { $ this -> loadedLogger -> warning ( 'Could not load ' . $ class . ' merger.' ) ; return false ; } $ this -> assetsMergerInstances [ $ class ] = $ merger ; $ this -> loadedLogger -> debug ( 'Assets merger ' . $ class . ' found & loaded.' ) ; return true ; }
Try to create & load an instance of a given AssetsMerger class name.

@param string $class Fully qualified class name
@return bool Whether the loading succeeded or not
Try to create & load an instance of a given AssetsMerger class name .