Skip to content

Instantly share code, notes, and snippets.

@fritz-gerneth
Created April 23, 2012 14:32
Show Gist options
  • Save fritz-gerneth/2471283 to your computer and use it in GitHub Desktop.
Save fritz-gerneth/2471283 to your computer and use it in GitHub Desktop.
<?php
return array(
'di' => array(
'instance' => array(
'Test\Event\Collection' => array(
'injections' => array(
'Test\Event\View',
'Test\Event\View',
),
'parameters' => array(
//'t' => 5,
'test' => 11
)
),
),
'definition' => array(
'class' => array(
'Test\Event\Collection' => array(
'addListener' => array(
'listener' => array(
'type' => 'Test\Event\Listener',
'required' => true
)
),
'setT' => array(
't' => array(
'type' => 'Test\Event\Listener',
'required' => true
)
)
)
)
)
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment