/** * @param ConfigurationInterface $configuration * @param array $commands */ public function __construct(ConfigurationInterface $configuration, array $commands) { parent::__construct($configuration); $this->commands = $commands; }
/** * @param \Sp\BowerBundle\Bower\Event\BowerEvent $event */ public function onPostInstall(BowerEvent $event) { $this->bower->createDependencyMappingCache($event->getConfiguration()); }