Commit Graph

137 Commits (1a8af5c96be341143815cc913dc90128771e9599)

Author SHA1 Message Date
fadrian06 1a8af5c96b Merge branch 'master' into dispatcher-rework
3 weeks ago
n0nag0n 5372672332
Merge pull request #722 from flightphp/eventdispatcher-rework
4 weeks ago
fadrian06 cd3d8bb44e simplify EventDispatcher@removeAllListeners and resetInstance
1 month ago
fadrian06 4cb50f66ab simplify EventDispatcher@removeListener
1 month ago
fadrian06 6c22bad3f0 remove redundant explanation of EventDispatcher@getAllRegisteredEvents
1 month ago
fadrian06 361e45e974 simplify EventDispatcher@getListeners
1 month ago
fadrian06 4abcd23e11 use EventDispatcher@hasListeners in trigger
1 month ago
fadrian06 6bc62d9b0c simplify EventDispatcher@hasListeners
1 month ago
fadrian06 0d50ed97d6 use early returns in EventDispatcher@trigger
1 month ago
fadrian06 f7b2736736 simplify EventDispatcher@trigger
1 month ago
fadrian06 3723228c3d simplify EventDispatcher@on
1 month ago
fadrian06 8d29ad4fd0 remove reduntant EventDispatcher@getInstance description
1 month ago
fadrian06 3066c5dcc4 simplify EventDispatcher listeners typehint
1 month ago
fadrian06 4c2a08c3e6 remove reduntant EventDispatcher::$instance description
1 month ago
fadrian06 17ed78763f add more @template
1 month ago
fadrian06 8e168e648b remove unused $container
1 month ago
fadrian06 cfa87bee4e remove unneccesary references
1 month ago
fadrian06 e48b976aac fix phpstan message about Dispatcher@get return type
1 month ago
fadrian06 bdd5bdcc24 fix Dispatcher@get return type
1 month ago
fadrian06 05831b39cb use always global namespace prefix
1 month ago
fadrian06 6afe25ddb5 simplify object creation without container
1 month ago
fadrian06 9e08573896 rename Dispatcher namedFilteredCallables -> namedCallables
1 month ago
fadrian06 cbc1cb30be refactor Dispatcher@execute
1 month ago
fadrian06 4afb553a96 simplify Dispatcher@mustUseContainer
1 month ago
fadrian06 35a6bbabed update Dispatcher@fixOutputBuffering description
1 month ago
fadrian06 740524490f extract Dispatcher::CALLABLE_STRING_OPERATORS
1 month ago
fadrian06 ddb57620a0 add default template values in FilteredCallable
1 month ago
fadrian06 b0203d861c deprecate Dispatcher@runPreFilters, runEvent, runPostFilters and filter.
1 month ago
fadrian06 80705ec158 update Dispatcher@run, set, get, has, hook, clear and reset to use the namedFilteredCallable property
1 month ago
fadrian06 2d772f3642 update Dispatcher description
1 month ago
fadrian06 2673435197 update before and filters signature
1 month ago
fadrian06 5ea5d5b8ad add Dispatcher namedFilteredCallables property
1 month ago
fadrian06 2682e3298f add FilteredCallable to replace Dispatcher events to named callables (self explanatory).
1 month ago
fadrian06 bb6932e92e throw OutOfBoundsException instead of Exception when event name hasn't been set
1 month ago
fadrian06 bf3f86d619 reuse Dispatcher@get in Dispatcher@has
1 month ago
fadrian06 7379be00ac simplify Dispatcher events values typehint
1 month ago
fadrian06 318852b19b deprecate Dispatcher filters property
1 month ago
fadrian06 1ae2bafeee deprecate Dispatcher events property
1 month ago
fadrian06 7beabae36d improve Dispatcher description to reflect its responsibility for dispatching named callables
1 month ago
fadrian06 188f147c7d invert Dispatcher@setContainerHandler conditional and remove $containerFQCN
1 month ago
fadrian06 5c89341428 clarify Dispatcher@run parameters and allows to throw errors inside events or filters
1 month ago
fadrian06 988c64ed22 rename $containerInterfaceNS -> $containerFQCN and extract InvalidArgumentException $message argument
1 month ago
fadrian06 0b0737f533 remove $this of return type, it's incompatible with self return type
1 month ago
fadrian06 8a4818cf87 improve typehint of keys before and after inside all events in the Dispatcher $filters property
1 month ago
fadrian06 ae735c1845 remove Dispatcher properties redundants explanations
1 month ago
fadrian06 12607d9500 rename Psr\Container\ContainerInterface -> Container
1 month ago
fadrian06 6c5d9de3ca remove Engine @template
1 month ago
fadrian06 32ff66428d use raw copyright links for compatibility
1 month ago
fadrian06 cff442d964 normalize and simplify @copyright and @license phpdoc tags based on phpDocumentor recommendations to clean symbols hovers
1 month ago
n0nag0n 98c9c89893 Align Runway generators with skeleton App\ layout and fix suite gates
1 month ago