protected addHandlers ( |
||
$definition |
protected function addHandlers(Definition $definition, $handlers)
{
foreach ($handlers as $id => $attributes) {
$definition->addMethodCall('addHandler', array(new Reference($id)));
}
}