public static function createFromAssetsLoader(AssetsLoader $loader)
    {
        $_class = get_called_class();
        return new $_class(
            $loader->getRootDirectory(),
            $loader->getAssetsDirectory(),
            $loader->getVendorDirectory(),
            $loader->getAssetsVendorDirectory()
        );
    }
public static function createFromAssetsLoader(AssetsLoader $loader)
    {
        $_class = get_called_class();
        return new $_class(
            $loader->getRootDirectory(),
            $loader->getAssetsDirectory(),
            $loader->getVendorDirectory(),
            $loader->getAssetsVendorDirectory()
        );
    }
public static function createFromAssetsLoader ( AssetsLoader $ loader ) { $ _class = get_called_class ( ) ; return new $ _class ( $ loader -> getRootDirectory ( ) , $ loader -> getAssetsDirectory ( ) , $ loader -> getVendorDirectory ( ) , $ loader -> getAssetsVendorDirectory ( ) ) ; }
Create a new instance from an `AssetsManager\Loader` instance

@param \AssetsManager\Loader $loader
@return object
Create a new instance from an AssetsManager \ Loader instance