Skip to content

Instantly share code, notes, and snippets.

@musaid
Created October 16, 2012 09:47
Show Gist options
  • Save musaid/3898385 to your computer and use it in GitHub Desktop.
Save musaid/3898385 to your computer and use it in GitHub Desktop.
Handler Loader Class Sample output
SAMPLE OUTPUT
WITHOUT TAGS
array
'Allied\Fun' =>
array
0 => string '$anonymous' (length=10)
'Allied\Some\Event' =>
array
0 => string '$second_anonymous' (length=17)
1 =>
array
0 => string 'MyClass' (length=7)
1 => string 'not_handle' (length=10)
'Allied\Another\Event' =>
array
0 => string '$third_anonymous' (length=16)
'Allied\No Event' =>
array
0 =>
array
0 => string 'MyClass' (length=7)
1 => string 'handle' (length=6)
WITH TAGS
array
'Allied\Fun' =>
array
0 => string '$anonymous' (length=10)
'Allied\Some\Event' =>
array
0 => string '$second_anonymous' (length=17)
1 =>
array
0 => string 'MyClass' (length=7)
1 => string 'not_handle' (length=10)
'Allied\Another\Event' =>
array
0 => string '$third_anonymous' (length=16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment