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

kernel parameters are missing from the DIC completion #950

Closed
stof opened this issue Jun 9, 2017 · 1 comment
Closed

kernel parameters are missing from the DIC completion #950

stof opened this issue Jun 9, 2017 · 1 comment
Labels

Comments

@stof
Copy link
Contributor

stof commented Jun 9, 2017

There are a few parameters set by the kernel directly:

  • kernel.environment
  • kernel.debug
  • kernel.root_dir
  • kernel.cache_dir
  • kernel.logs_dir
  • kernel.project_dir (as of Symfony 3.3)
  • kernel.name
  • kernel.bundles
  • kernel.charset

The plugin does not provide completion for them currently (it may be doing it based on the compiled container in the cache, but I'm working on a bundle currently and so I don't have the cached compiled container). It would be great if it could do it.

If you want to automate the loading instead of hardcoding the list in the plugin, the implement lives in \Symfony\Component\HttpKernel\Kernel::getKernelParameters.

@Haehnchen
Copy link
Owner

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants