<?xml version="1.0" encoding="UTF-8"?> <event-dispatcher> <event name="event1"> <callable type="function" name="global_function" priority="255"/> <callable type="closure" priority="-1"/> </event> <event name="event2"> <callable type="object" name="Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\CallableClass" priority="0"/> </event> </event-dispatcher>
info at phpclasses dot org