改名
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ class Event extends BaseObject
|
|||||||
* @param bool $isAppend
|
* @param bool $isAppend
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function on($name, $callback, $parameter = [], $isAppend = true)
|
public function on($name, $callback, $parameter = [], $isAppend = false)
|
||||||
{
|
{
|
||||||
if (!isset($this->_events[$name])) {
|
if (!isset($this->_events[$name])) {
|
||||||
$this->_events[$name] = [];
|
$this->_events[$name] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user