public function setAssets(MvcEvent $e)
    {
        /* @var AssetsServiceInterface $assetsService */
        $assetsService = $e->getApplication()->getServiceManager()->get('AcAssets\Service\AssetsService');
        $assetsService->initHeadLink()
                      ->initHeadScript()
                      ->initInlineScript();
    }
public function setAssets(MvcEvent $e)
    {
        /* @var AssetsServiceInterface $assetsService */
        $assetsService = $e->getApplication()->getServiceManager()->get('AcAssets\Service\AssetsService');
        $assetsService->initHeadLink()
                      ->initHeadScript()
                      ->initInlineScript();
    }
public function setAssets ( MvcEvent $ e ) { /* @var AssetsServiceInterface $assetsService */ $ assetsService = $ e -> getApplication ( ) -> getServiceManager ( ) -> get ( 'AcAssets\Service\AssetsService' ) ; $ assetsService -> initHeadLink ( ) -> initHeadScript ( ) -> initInlineScript ( ) ; }
Reads assets from configuration and injects them into view by using view helpers
Reads assets from configuration and injects them into view by using view helpers