Kernel Config Flashcards

1
Q

ou ce situe le kernel de SF

A

src/Kernel.php

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

kernel.build_dir

A

default : $this->getCacheDir() permet de définir l’endroit ou les cache seront écrient (method: getBuildDir())

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

kernel.bundles

A

store list of bundles registered and FQCN main class (getBundles())

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

kernel.bundle_metadata

A

store list of bundles registered and metadata (default empty) (no method directly)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

kernel.cache_dir

A

(default: $this->getProjectDir()/var/cache/$this->environment) (method : getCacheDir())

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

kernel.charset

A

expose charset app (method: getCharset())

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

kernel.container_build_time

A

fixer une valeur précise de compilation du kernel pour des besoins precis et particulier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

kernel.container_class

A

uniqID for container class - très utile sur app multi Kernel (method: getContainerClass())

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

kernel.debug

A

store debug mode true/false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

kernel.default_locale

A

store the default locale parameter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

kernel.enabled_locales

A

store the enabled locales parameter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

kernel.environment

A

store the env name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

kernel.error_controller

A

store la valeur du controller de reception des errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

kernel.http_method_override

A

store la method qui permet de changer l’action et l’HTTP method d’une request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

kernel.logs_dir

A

absolute path of log dir (default: $this->getProjectDir()/var/log) (method: getLogDir())

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

kernel.project_dir

A

absolute directory of composer.json file (method: getProjectDir())

17
Q

kernel.runtime_environment

A

current runtime env (not same that kernel.environment !!!!)

18
Q

kernel.runtime_mode

A

store string like : web=1&worker=0

19
Q

kernel.runtime_mode.web

A

store app if running in web environment

20
Q

kernel.runtime_mode.cli

A

store app if running in CLI environement

21
Q

kernel.runtime_mode.worker

A

store app if running in “long-running” web server

22
Q

kernel.secret

A

store the uniqID of App SF

23
Q

kernel.trust_x_sendfile_type_header

A

store if “trust_x_sendfile_type_header” est utilisé pour faire confiance au web server pour fournir un fichier

24
Q

kernel.trusted_hosts

A

store les host de confiance

25
Q

kernel.trusted_proxies

A

store les proxy de confiance