Ejemplo n.º 1
0
 public function getExtensionPublishSource(ExtensionInterface $extension)
 {
     return $extension->getPath() . '/themes';
 }
Ejemplo n.º 2
0
 /**
  * Registers an instance of an extension with the bag.
  *
  * @param  \Cartalyst\Extensions\ExtensionInterface  $extension
  * @return void
  */
 protected function registerInstance(ExtensionInterface $extension)
 {
     $extension->register();
     $this->items[$extension->getSlug()] = $extension;
 }