protected function registerPathMappings($factory)
    {
        $assetPath = $this->app->__invoke(PathFinder::class)->to('assets');

        $factory->map('css', $assetPath->absolute('css'), $assetPath->url('css'));
        $factory->map('js', $assetPath->absolute('js'), $assetPath->url('js'));
    }
protected function registerPathMappings($factory)
    {
        $assetPath = $this->app->__invoke(PathFinder::class)->to('assets');

        $factory->map('css', $assetPath->absolute('css'), $assetPath->url('css'));
        $factory->map('js', $assetPath->absolute('js'), $assetPath->url('js'));
    }
protected function registerPathMappings ( $ factory ) { $ assetPath = $ this -> app -> __invoke ( PathFinder :: class ) -> to ( 'assets' ) ; $ factory -> map ( 'css' , $ assetPath -> absolute ( 'css' ) , $ assetPath -> url ( 'css' ) ) ; $ factory -> map ( 'js' , $ assetPath -> absolute ( 'js' ) , $ assetPath -> url ( 'js' ) ) ; }
This method assumes that the CoreBootstrapper already has assigned
a "assets" path and url.

@param \Ems\Contracts\Assets\Registry
This method assumes that the CoreBootstrapper already has assigned a assets path and url .