public function loadAssetHandler($assetHandler)
    {
        if (!$assetHandler instanceof AssetHandler) {
            throw new AssetManagerException('Asset handler "' . get_class($assetHandler) . '" is not supported by AssetManager');
        }
        $this->assetHandlers[] = $assetHandler;
        return $this;
    }
public function loadAssetHandler($assetHandler)
    {
        if (!$assetHandler instanceof AssetHandler) {
            throw new AssetManagerException('Asset handler "' . get_class($assetHandler) . '" is not supported by AssetManager');
        }
        $this->assetHandlers[] = $assetHandler;
        return $this;
    }
public function loadAssetHandler ( $ assetHandler ) { if ( ! $ assetHandler instanceof AssetHandler ) { throw new AssetManagerException ( 'Asset handler "' . get_class ( $ assetHandler ) . '" is not supported by AssetManager' ) ; } $ this -> assetHandlers [ ] = $ assetHandler ; return $ this ; }
Load an asset handler associated

@param $assetHandler
@return $this
@throws AssetManagerException
Load an asset handler associated