PHP Class Knp\Bundle\KnpBundlesBundle\EventListener\Scoring\ScoringListener

Author: Romain Pouclet ([email protected])
Mostrar archivo Open project: KnpLabs/KnpBundles

Public Methods

Method Description
onScoreUpdate ( BundleEvent $event ) Handles a Bundle::UPDATE_SCORE event so the listener can update the score (add its own scoring detail : travis, readme.
updateScore ( Bundle $bundle ) Add details to bundle's score

Method Details

onScoreUpdate() public method

..)
public onScoreUpdate ( BundleEvent $event )
$event Knp\Bundle\KnpBundlesBundle\Event\BundleEvent

updateScore() abstract public method

Add details to bundle's score
abstract public updateScore ( Bundle $bundle )
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle