improve Dispatcher description to reflect its responsibility for dispatching named callables

dispatcher-rework
fadrian06 3 days ago
parent 188f147c7d
commit 7beabae36d

@ -13,10 +13,10 @@ use Throwable;
use TypeError; use TypeError;
/** /**
* The Dispatcher class is responsible for dispatching events. Events * Responsible for dispatching named callables.
* are simply aliases for class methods or functions. The Dispatcher *
* allows you to hook other functions to an event that can modify the * The Dispatcher allows you to hook others callables that can modify the named
* input parameters and/or the output. * callable arguments and/or its return value.
* *
* @license MIT, http://flightphp.com/license * @license MIT, http://flightphp.com/license
* @copyright Copyright (c) 2011, Mike Cao <mike@mikecao.com> * @copyright Copyright (c) 2011, Mike Cao <mike@mikecao.com>

Loading…
Cancel
Save