Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpKernel] Add Kernel::getAnnotatedClassesToCompile()#27168

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:masterfromnicolas-grekas:kernel-annotated
May 7, 2018

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Now that apps are usually bundle-less, we're missing a way to defined the classes to parse annotations for. Here is a PR fixing this by allowing ppl to define a newgetAnnotatedClassesToCompile() on their kernel when needed.

@Tobion
Copy link
Contributor

Btw what is the purpose of the annoted class cache?

@nicolas-grekas
Copy link
MemberAuthor

The purpose is being able to warmup the annotations' cached reader. Without that, annotations are parsed at runtime the first time

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit1d2a49a intosymfony:masterMay 7, 2018
fabpot added a commit that referenced this pull requestMay 7, 2018
…) (nicolas-grekas)This PR was merged into the 4.1-dev branch.Discussion----------[HttpKernel] Add Kernel::getAnnotatedClassesToCompile()| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Now that apps are usually bundle-less, we're missing a way to defined the classes to parse annotations for. Here is a PR fixing this by allowing ppl to define a new `getAnnotatedClassesToCompile()` on their kernel when needed.Commits-------1d2a49a [HttpKernel] Add Kernel::getAnnotatedClassesToCompile()
@fabpotfabpot mentioned this pull requestMay 7, 2018
@nicolas-grekasnicolas-grekas deleted the kernel-annotated branchMay 8, 2018 23:45
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.1

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@Tobion@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp