Skip to content

Instantly share code, notes, and snippets.

@fritz-gerneth
Created April 23, 2012 15:30
Show Gist options
  • Save fritz-gerneth/2471687 to your computer and use it in GitHub Desktop.
Save fritz-gerneth/2471687 to your computer and use it in GitHub Desktop.
<?php
return array(
'di' => array(
'instance' => array(
'Zend\EventManager\EventManager' => array(
'injections' => array(
'attach' => array(
array('event' => 'Test\Event\Collection'),
)
)
)
),
'definition' => array(
'class' => array(
'Zend\EventManager\EventManager' => array(
'attach' => array(
'event' => array(
'type' => 'Zend\EventManager\ListenerAggregate',
'required' => true
),
'callback' => array(
'type' => false,
'required' => false,
),
'priority' => array(
'type' => false,
'required' => false
)
)
)
)
)
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment