Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (16 sloc) 484 Bytes
<?php
namespace BillingBundle\Event;
use BillingBundle\Event\FilterBillEvent;
class FreedomListener
{
public function onFreeCall(FilterBillEvent $event)
{
global $firephp;
$firephp->log('Calling FreedomListener');
$bill = $event->getBill();
$bill->setUnitPrice(0);
$event->setBill($bill);
$bill->addRemark('FreedomListener was called');
$event->stopPropagation();
}
}