Esempio n. 1
0
 /**
  * Add an asset path from a module.
  *
  * @param  Zend\EventManager\Event $event
  * @return void
  */
 public function addAssetPath($event)
 {
     $module = $event->getModule();
     if (!method_exists($module, 'getAssetPath')) {
         return;
     }
     if (null !== ($assetPath = $module->getAssetPath())) {
         $this->assetPaths[] = rtrim($assetPath, '\\/');
     }
 }