Commit Graph

4746 Commits

Author SHA1 Message Date
huangzhhui
551d63304f Optimze custom event of model 2019-02-09 02:32:52 +08:00
huangzhhui
3cda1a7cdd Revert getMethod() method of abstract model event 2019-02-09 02:04:32 +08:00
huangzhhui
406cd56899 Merge branch 'master' of github.com:hyperf-cloud/hyperf 2019-02-09 01:46:22 +08:00
huangzhhui
176f70ad23 Added user-defined events operation of model 2019-02-09 01:46:00 +08:00
李铭昕
0849fb092b Added model-cache component. 2019-02-08 00:27:40 +08:00
李铭昕
f7b07b33ca Support cache update for model increment and decrement. 2019-02-07 20:54:13 +08:00
李铭昕
4731919c74 Fixed model cache time not work expected. 2019-02-07 19:56:32 +08:00
李铭昕
d5dbfb3ff4 Added Event::getModel. 2019-02-07 17:54:06 +08:00
huangzhhui
29ff21c86b Update HasAttributes.php 2019-02-07 01:21:29 +08:00
huangzhhui
d7ac06e144 Optimize database unit test 2019-02-07 01:21:15 +08:00
huangzhhui
9b8a66334e Remove useless getter 2019-02-07 01:20:46 +08:00
huangzhhui
a580d4305a Added booted status and trait initializer 2019-02-07 01:20:29 +08:00
huangzhhui
f2ec24fb99 Implement the return type 2019-02-07 00:44:28 +08:00
huangzhhui
7c27875420 Removed hasEventDispatcher() method of Register and allow getEventDispatcher() return null 2019-02-06 02:29:38 +08:00
huangzhhui
e33e9a32bf Added covers annotation of phpunit 2019-02-06 02:28:40 +08:00
huangzhhui
f64fb3d96f Add phpunit and autoload rules 2019-02-06 02:24:15 +08:00
huangzhhui
2a80076951 Format 2019-02-06 02:23:52 +08:00
huangzhhui
b1c470447c Add unit test of event conponent with high coverage 2019-02-06 02:22:56 +08:00
huangzhhui
2ef2c67aec Added Stoppable trait and use in abstract model event 2019-02-05 21:57:20 +08:00
huangzhhui
3bde09ac81 Format amqp component 2019-02-05 21:56:38 +08:00
huangzhhui
3f487b3558 Add HigherOrderTapProxy 2019-02-05 19:42:51 +08:00
huangzhhui
e534cc6f92 Optimize 2019-02-05 17:24:57 +08:00
huangzhhui
be4235abd6 Removed event method 2019-02-05 14:42:27 +08:00
huangzhhui
f42126317a Merge branch 'master' of github.com:hyperf-cloud/hyperf 2019-02-05 14:41:11 +08:00
huangzhhui
f7eedf1002 Added return type 2019-02-05 14:34:36 +08:00
李铭昕
f4dc14b35a Added some comments. 2019-02-04 20:22:44 +08:00
huangzhhui
252af0d828 Detect the event class name as the listen method name 2019-02-03 02:05:39 +08:00
李铭昕
4a771490ae Reset event dispatcher after db reconnect. 2019-02-01 15:44:58 +08:00
huangzhhui
b060f8fd49 Merge branch 'master' of github.com:hyperf-cloud/hyperf 2019-02-01 09:58:56 +08:00
huangzhhui
f41949c711 Optimize DB model unit test 2019-02-01 09:58:52 +08:00
李铭昕
88712bb068 Update key for cache. 2019-01-31 23:05:06 +08:00
李铭昕
8f631c1a72 Update cache component. 2019-01-31 22:02:41 +08:00
李铭昕
5d0d45ad37 Merge branch 'master' of github.com:hyperf-cloud/hyperf 2019-01-31 22:00:36 +08:00
李铭昕
451d548cdd Updated cache component. 2019-01-31 22:00:23 +08:00
huangzhhui
d9136269f3 Inject di container to consumer 2019-01-31 19:16:52 +08:00
李铭昕
fe75341417 Merge branch 'master' of github.com:hyperf-cloud/hyperf 2019-01-31 19:15:00 +08:00
李铭昕
46dc35de61 Added a cache component. 2019-01-31 19:14:18 +08:00
李铭昕
ae2a5c4193 Fixed bug. 2019-01-31 17:34:28 +08:00
huangzhhui
99877f8f9b Reset the channel properties when connection reconnect or close 2019-01-31 17:33:39 +08:00
huangzhhui
f73c311c4e Should not close the channel 2019-01-31 17:32:33 +08:00
huangzhhui
77fe63fb3e Optimize amqp consumer and channel management 2019-01-31 17:24:46 +08:00
huangzhhui
483166c0bf Added a 'confirm' option to channel 2019-01-30 18:37:17 +08:00
huangzhhui
e3195522c1 Remove ChannlePool and reuse channel in each connection 2019-01-30 17:36:16 +08:00
huangzhhui
f5ed1d3b66 Fixed producer annotation properties does not set to the instance 2019-01-30 17:04:54 +08:00
huangzhhui
64de37063a Merge branch 'master' of github.com:hyperf-cloud/hyperf 2019-01-30 17:03:00 +08:00
huangzhhui
9b01db773f Added getClassAnnotation() method for retrieve annotations of class easier 2019-01-30 17:02:49 +08:00
张城铭
7f399ee81c Default value 2019-01-30 17:01:58 +08:00
huangzhhui
cf00edeea7 Added setter() and getter() methods 2019-01-30 17:01:47 +08:00
李铭昕
0f6baf981d Fixed error comment. 2019-01-30 11:25:33 +08:00
李铭昕
792318ee63 Merge branch 'master' of github.com:hyperf-cloud/hyperf 2019-01-30 11:13:52 +08:00