-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed #52 Replace http.flow with eventManager #53
Conversation
I think you should choose a naming strategy, I see both lowercase with dots and camel case :\ |
heh good feedback :D suggestions? :) |
use the snake_case, in this way you'll be able to distinguish immediately between code invocations and other concepts $object->get('doMethod'); // invokes ::doMethod() on the internal object
$object->get('event_manager'); // gets the implementation of the event manager |
ee92659
to
0f7e498
Compare
@@ -37,7 +37,7 @@ require_once "./vendor/autoload.php"; | |||
|
|||
$app = new \GianArb\Penny\App(); | |||
|
|||
$app->getContainer()->get("http.flow")->attach("*", function ($event) { | |||
$app->getContainer()->get("eventManager")->attach("*", function ($event) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
event_manager too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! :)
Fixed #52 Replace http.flow with eventManager
Thanks at all! :D |
No description provided.