Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Use "listener" verbiage instead of "handler"
Browse files Browse the repository at this point in the history
- When referring to events...
  • Loading branch information
weierophinney authored and EvanDotPro committed Sep 19, 2011
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ValidatorChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct(Storage $storage)
}

/**
* Attach a handler to the session validator chain
* Attach a listener to the session validator chain
*
* @param string $event
* @param callback $context
Expand All @@ -86,8 +86,8 @@ public function attach($event, $callback, $priority = 1)
$this->getStorage()->setMetadata('_VALID', array($name => $data));
}

$handle = parent::attach($event, $callback, $priority);
return $handle;
$listener = parent::attach($event, $callback, $priority);
return $listener;
}

/**
Expand Down

0 comments on commit 7f08291

Please sign in to comment.