Skip to content

Commit e713410

Browse files
committed
readme
1 parent e0fba34 commit e713410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class ... {
118118
public function __construct (Event $event)
119119
{
120120
$this->event = $event;
121-
$this->event->on('someEventName', function () { echo "stay foolish"; });
121+
$this->event->bind('someEventName', function () { echo "stay foolish"; });
122122
}
123123
public function getSome () {
124124
$this->event->trigger('someEventName');

0 commit comments

Comments
 (0)