Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T16255 reflection getclass #16257

Merged
merged 9 commits into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
231 changes: 145 additions & 86 deletions CHANGELOG-5.0.md
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
305,931 changes: 152,973 additions & 152,958 deletions build/phalcon/phalcon.zep.c
59 changes: 40 additions & 19 deletions build/phalcon/phalcon.zep.h
2 changes: 1 addition & 1 deletion build/phalcon/php_phalcon.h
7 changes: 3 additions & 4 deletions docker/7.4/Dockerfile
357 changes: 186 additions & 171 deletions ext/phalcon/acl/adapter/memory.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/annotations/annotation.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/annotations/annotationsfactory.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/annotations/collection.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/annotations/collection.zep.h
26 changes: 13 additions & 13 deletions ext/phalcon/annotations/reader.zep.c
16 changes: 8 additions & 8 deletions ext/phalcon/assets/collection.zep.c
42 changes: 21 additions & 21 deletions ext/phalcon/assets/manager.zep.c
54 changes: 27 additions & 27 deletions ext/phalcon/autoload/loader.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/cache/cachefactory.zep.c
8 changes: 4 additions & 4 deletions ext/phalcon/cli/console.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/cli/router.zep.c
16 changes: 8 additions & 8 deletions ext/phalcon/config/adapter/grouped.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/config/adapter/ini.zep.c
8 changes: 4 additions & 4 deletions ext/phalcon/config/adapter/json.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/config/adapter/yaml.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/config/configfactory.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/datamapper/pdo/connection.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/datamapper/pdo/connection/decorated.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/datamapper/pdo/connectionlocator.zep.c
14 changes: 7 additions & 7 deletions ext/phalcon/datamapper/pdo/profiler/profiler.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/datamapper/query/insert.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/datamapper/query/queryfactory.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/datamapper/query/select.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/datamapper/query/update.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/db/adapter/pdo/mysql.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/db/adapter/pdo/postgresql.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/db/adapter/pdo/sqlite.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/db/adapter/pdofactory.zep.c
42 changes: 21 additions & 21 deletions ext/phalcon/db/dialect/mysql.zep.c
8 changes: 4 additions & 4 deletions ext/phalcon/db/dialect/postgresql.zep.c
12 changes: 6 additions & 6 deletions ext/phalcon/db/dialect/sqlite.zep.c
1 change: 1 addition & 0 deletions ext/phalcon/db/dialectinterface.zep.h
12 changes: 6 additions & 6 deletions ext/phalcon/db/profiler.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/di/di.zep.h
2 changes: 1 addition & 1 deletion ext/phalcon/di/service.zep.c
14 changes: 7 additions & 7 deletions ext/phalcon/di/service/builder.zep.c
72 changes: 36 additions & 36 deletions ext/phalcon/encryption/crypt.zep.c
8 changes: 4 additions & 4 deletions ext/phalcon/encryption/crypt/padding/ansi.zep.c
8 changes: 4 additions & 4 deletions ext/phalcon/encryption/crypt/padding/iso10126.zep.c
10 changes: 5 additions & 5 deletions ext/phalcon/encryption/crypt/padding/isoiek.zep.c
8 changes: 4 additions & 4 deletions ext/phalcon/encryption/crypt/padding/pkcs7.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/encryption/crypt/padding/space.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/encryption/crypt/padding/zero.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/encryption/crypt/padfactory.zep.c
20 changes: 10 additions & 10 deletions ext/phalcon/encryption/security.zep.c
26 changes: 13 additions & 13 deletions ext/phalcon/encryption/security/jwt/builder.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/encryption/security/jwt/signer/hmac.zep.c
34 changes: 17 additions & 17 deletions ext/phalcon/encryption/security/jwt/token/parser.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/encryption/security/jwt/validator.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/encryption/security/jwt/validator.zep.h
16 changes: 8 additions & 8 deletions ext/phalcon/encryption/security/random.zep.c
6 changes: 5 additions & 1 deletion ext/phalcon/events/event.zep.h
14 changes: 7 additions & 7 deletions ext/phalcon/events/manager.zep.c
30 changes: 15 additions & 15 deletions ext/phalcon/filter/filter.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/filterfactory.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/filter/sanitize/absint.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/email.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/floatval.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/intval.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/lower.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/special.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/specialfull.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/stringval.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/stringvallegacy.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/striptags.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/upper.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/filter/sanitize/upperwords.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/sanitize/url.zep.c
8 changes: 4 additions & 4 deletions ext/phalcon/filter/validation.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation/validator/alnum.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation/validator/callback.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/filter/validation/validator/confirmation.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/filter/validation/validator/creditcard.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation/validator/date.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation/validator/digit.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation/validator/email.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation/validator/exclusionin.zep.c
90 changes: 45 additions & 45 deletions ext/phalcon/filter/validation/validator/file.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/filter/validation/validator/file/mimetype.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation/validator/inclusionin.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation/validator/ip.zep.c
8 changes: 4 additions & 4 deletions ext/phalcon/filter/validation/validator/stringlength.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/filter/validation/validator/uniqueness.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/filter/validation/validator/url.zep.c
16 changes: 8 additions & 8 deletions ext/phalcon/forms/form.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/forms/form.zep.h
2 changes: 1 addition & 1 deletion ext/phalcon/forms/manager.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/html/attributes.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/html/breadcrumbs.zep.c
24 changes: 12 additions & 12 deletions ext/phalcon/html/escaper.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/html/helper/input/select.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/html/helper/meta.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/html/helper/title.zep.c
26 changes: 13 additions & 13 deletions ext/phalcon/http/cookie.zep.c
166 changes: 83 additions & 83 deletions ext/phalcon/http/request.zep.c
16 changes: 8 additions & 8 deletions ext/phalcon/http/request/file.zep.c
30 changes: 15 additions & 15 deletions ext/phalcon/http/response.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/http/response/cookies.zep.c
14 changes: 7 additions & 7 deletions ext/phalcon/http/response/headers.zep.c
220 changes: 110 additions & 110 deletions ext/phalcon/image/adapter/gd.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/image/adapter/imagick.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/image/imagefactory.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/logger/adapter/stream.zep.c
10 changes: 5 additions & 5 deletions ext/phalcon/logger/adapter/syslog.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/logger/loggerfactory.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/messages/messages.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/messages/messages.zep.h
12 changes: 6 additions & 6 deletions ext/phalcon/mvc/micro.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/mvc/micro.zep.h
6 changes: 5 additions & 1 deletion ext/phalcon/mvc/micro/lazyloader.zep.h
82 changes: 41 additions & 41 deletions ext/phalcon/mvc/model.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/mvc/model/behavior/timestampable.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/mvc/model/binder.zep.c
12 changes: 6 additions & 6 deletions ext/phalcon/mvc/model/criteria.zep.c
34 changes: 17 additions & 17 deletions ext/phalcon/mvc/model/manager.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/mvc/model/metadata/stream.zep.c
202 changes: 101 additions & 101 deletions ext/phalcon/mvc/model/query.zep.c
64 changes: 32 additions & 32 deletions ext/phalcon/mvc/model/query/builder.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/mvc/model/resultset.zep.h
2 changes: 1 addition & 1 deletion ext/phalcon/mvc/model/resultset/complex.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/mvc/model/resultset/complex.zep.h
2 changes: 1 addition & 1 deletion ext/phalcon/mvc/model/row.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/mvc/model/row.zep.h
4 changes: 2 additions & 2 deletions ext/phalcon/mvc/model/transaction.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/mvc/model/transaction/manager.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/mvc/router/annotations.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/mvc/router/group.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/mvc/url.zep.c
28 changes: 14 additions & 14 deletions ext/phalcon/mvc/view.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/mvc/view/engine/php.zep.c
32 changes: 16 additions & 16 deletions ext/phalcon/mvc/view/engine/volt.zep.c
154 changes: 77 additions & 77 deletions ext/phalcon/mvc/view/engine/volt/compiler.zep.c
20 changes: 10 additions & 10 deletions ext/phalcon/mvc/view/simple.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/paginator/adapter/model.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/paginator/adapter/nativearray.zep.c
10 changes: 5 additions & 5 deletions ext/phalcon/session/adapter/stream.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/session/manager.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/storage/serializer/base64.zep.c
14 changes: 7 additions & 7 deletions ext/phalcon/storage/serializer/json.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/storage/serializer/none.zep.h
2 changes: 1 addition & 1 deletion ext/phalcon/storage/serializer/php.zep.h
2 changes: 1 addition & 1 deletion ext/phalcon/support/collection.zep.h
4 changes: 2 additions & 2 deletions ext/phalcon/support/debug.zep.c
14 changes: 7 additions & 7 deletions ext/phalcon/support/debug/dump.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/support/helper/arr/first.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/support/helper/arr/group.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/support/helper/arr/isunique.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/support/helper/arr/last.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/support/helper/arr/sliceleft.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/support/helper/arr/sliceright.zep.c
6 changes: 5 additions & 1 deletion ext/phalcon/support/helper/arr/toobject.zep.h
4 changes: 2 additions & 2 deletions ext/phalcon/support/helper/file/basename.zep.c
6 changes: 3 additions & 3 deletions ext/phalcon/support/helper/json/decode.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/support/helper/json/encode.zep.c
8 changes: 4 additions & 4 deletions ext/phalcon/support/helper/str/concat.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/support/helper/str/decapitalize.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/support/helper/str/dirfromfile.zep.c
12 changes: 6 additions & 6 deletions ext/phalcon/support/helper/str/dynamic.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/support/helper/str/len.zep.c
20 changes: 10 additions & 10 deletions ext/phalcon/support/helper/str/random.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/support/registry.zep.h
8 changes: 4 additions & 4 deletions ext/phalcon/tag.zep.c
4 changes: 2 additions & 2 deletions ext/phalcon/tag/select.zep.c
2 changes: 1 addition & 1 deletion ext/phalcon/translate/adapter/abstractadapter.zep.h
2 changes: 1 addition & 1 deletion ext/phalcon/translate/interpolator/indexedarray.zep.c
2 changes: 1 addition & 1 deletion ext/php_phalcon.h
26 changes: 15 additions & 11 deletions phalcon/Acl/Adapter/Memory.zep
2 changes: 1 addition & 1 deletion phalcon/Db/DialectInterface.zep