getBundle() public method

public getBundle ( ) : Bundle
return Knp\Bundle\KnpBundlesBundle\Entity\Bundle
Example #1
0
 /**
  * Handles a Bundle::UPDATE_SCORE event so the listener
  * can update the score (add its own scoring detail : travis, readme...)
  *
  * @param BundleEvent $event
  */
 public function onScoreUpdate(BundleEvent $event)
 {
     $this->updateScore($event->getBundle());
 }