We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0fba34 commit e713410Copy full SHA for e713410
README.md
@@ -118,7 +118,7 @@ class ... {
118
public function __construct (Event $event)
119
{
120
$this->event = $event;
121
- $this->event->on('someEventName', function () { echo "stay foolish"; });
+ $this->event->bind('someEventName', function () { echo "stay foolish"; });
122
}
123
public function getSome () {
124
$this->event->trigger('someEventName');
0 commit comments