Commit Graph

4874 Commits

Author SHA1 Message Date
李铭昕
c854d42e89 Added method addGlobalImports for AnnotationReader. 2020-05-04 22:11:03 +08:00
李铭昕
b340125b44 Optimized annotations. 2020-05-04 21:36:29 +08:00
李铭昕
e623a52e1d Deleted useless code. 2020-05-04 16:14:43 +08:00
huangzhhui
6b573c5f87 Update AnnotationCollector.php 2020-05-04 16:11:32 +08:00
huangzhhui
552b81004f Mark getMethodByAnnotation and getClassByAnnotation to deprecated at v3.0 2020-05-04 15:42:58 +08:00
huangzhhui
8cc8a345e4 Update ProxyTrait.php 2020-05-04 15:19:04 +08:00
huangzhhui
53cb1fd34a Add annotation definition of aspect 2020-05-04 14:48:29 +08:00
huangzhhui
05ae076d53 Update AbstractAspect.php 2020-05-04 02:04:02 +08:00
huangzhhui
43d61593ad Add aspect priority 2020-05-04 02:03:44 +08:00
huangzhhui
23a8aeac26 Remove useless $__class__ and $__function__ variables 2020-05-04 02:03:21 +08:00
huangzhhui
92789cf4f9 Remove autoload component and move the files to DI component 2020-05-04 00:49:28 +08:00
huangzhhui
d62d437a7e Remove useless import 2020-04-26 14:56:12 +08:00
李铭昕
76392c1f51 Deleted useless code. 2020-04-26 12:07:19 +08:00
李铭昕
5dbd6f9fc3 Fixed aspect of classes do not works in app dir. 2020-04-26 12:06:11 +08:00
李铭昕
9cde40940b Update InjectVisitor.php 2020-04-26 11:21:36 +08:00
huangzhhui
9efce6a1a4 Update composer.json 2020-04-26 01:37:02 +08:00
huangzhhui
65859456ce Optimize 2020-04-26 01:30:31 +08:00
huangzhhui
b62f37631e Remove useless variables 2020-04-26 01:16:31 +08:00
huangzhhui
ca320d61f9 Refactor the code 2020-04-26 01:13:49 +08:00
huangzhhui
1c6637cf64 Add clear() method 2020-04-26 00:48:30 +08:00
huangzhhui
4c130180f1 Add AstVisitorCollector and Move inject logical to di component from autoload component 2020-04-26 00:48:19 +08:00
huangzhhui
d732607c0e Optimze the code 2020-04-25 23:58:24 +08:00
huangzhhui
ab60e7a0d1 Refactor, merge the proxy logical to ProxyManager, keep ClassLoader simple 2020-04-25 23:38:44 +08:00
huangzhhui
eb94a974ad Allow to inject the properties of parent class and trait, also allow AOP to point cut into the class according to property annotation 2020-04-19 02:24:05 +08:00
huangzhhui
c9126ae2bc Rename shoudCached to cacheNamespaces 2020-04-18 23:50:47 +08:00
huangzhhui
71822963aa Remove autoload when get property 2020-04-18 23:30:03 +08:00
李铭昕
10d67f110c Added should scaned namespaces. 2020-04-18 14:18:32 +08:00
李铭昕
3f334d84d1 Fixed bug. 2020-04-18 14:14:32 +08:00
李铭昕
5f0d45ff23 Cached collectors. 2020-04-18 14:10:03 +08:00
李铭昕
3cc1c960b2 Init all proxies in non coroutine. 2020-04-17 22:05:58 +08:00
huangzhhui
44c3472f8e Merge branch 'master' of github.com:hyperf/hyperf-2.0 2020-04-17 20:33:30 +08:00
huangzhhui
f129784aa7 Add injects 2020-04-17 20:30:07 +08:00
huangzhhui
76d9a4c7d9 Add getPropertiesByAnnotation 2020-04-17 20:29:52 +08:00
李铭昕
14f26b5b15 Optimized code.
ProxyManager static 方法处理成成员方法。

locateFile 方法,会排除已经扫描过的类,因为这部分类确定是不需要生成代理的类。
2020-04-17 18:12:26 +08:00
李铭昕
8ee442adec Upgrade monolog version. 2020-04-17 15:55:03 +08:00
李铭昕
1e2c3037f7 Upgrade version of some components. 2020-04-17 15:23:24 +08:00
huangzhhui
17ce64eabb Optimize code 2020-04-17 10:52:55 +08:00
huangzhhui
1a482b0a52 Remove useless class and logic 2020-04-17 02:13:13 +08:00
huangzhhui
f5e2bdbc92 Remove useless code 2020-04-17 01:37:33 +08:00
huangzhhui
4d483eb172 Add dynamic proxy file generatee mechanism 2020-04-17 01:09:14 +08:00
huangzhhui
963a4d51b4 Use classname with crc32 as the proxy file name 2020-04-17 01:08:55 +08:00
huangzhhui
7e800cbacf Add global import annotations mechanism 2020-04-17 00:14:33 +08:00
李铭昕
83fa73ab93 Added guzzle config provider. 2020-04-15 17:59:31 +08:00
李铭昕
52a220936d Added TypesFinderManager. 2020-04-15 17:13:47 +08:00
李铭昕
1b7d03808b Fixed @Inject does not works. 2020-04-15 16:51:57 +08:00
李铭昕
a8aea180f3 Added ScanConfig. 2020-04-15 15:25:22 +08:00
李铭昕
46da63979c Fixed hyperf components are not scaned. 2020-04-15 15:07:42 +08:00
huangzhhui
22c9a0f417 Refactor AOP 2020-04-15 01:49:47 +08:00
Luffy
150d827fa1
Fix typo (#1549)
* Update router.md

* Fix typo

* translate

* Re-translate

Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-04-10 17:06:55 +08:00
谷溪
baafe16c0d
Merge pull request #1543 from Reasno/pull/1541
Advertising GoTask
2020-04-10 12:28:16 +08:00