| @@ 82-89 (lines=8) @@ | ||
| 79 | * |
|
| 80 | * @return self |
|
| 81 | */ |
|
| 82 | public function loadServices(FileLoader $loader) |
|
| 83 | { |
|
| 84 | if (file_exists($this->dir . $this->prefix . 'services' . $this->suffix)) { |
|
| 85 | $loader->load('services' . $this->suffix); |
|
| 86 | } |
|
| 87 | ||
| 88 | return $this; |
|
| 89 | } |
|
| 90 | ||
| 91 | /** |
|
| 92 | * This method is called after loading the services in the self::load() process, to load code generators. |
|
| @@ 137-145 (lines=9) @@ | ||
| 134 | * |
|
| 135 | * @return self |
|
| 136 | */ |
|
| 137 | public function loadParameters(ContainerBuilder $container, FileLoader $loader) |
|
| 138 | { |
|
| 139 | // parameters.yml |
|
| 140 | if (file_exists($this->dir . $this->prefix . 'parameters' . $this->suffix)) { |
|
| 141 | $loader->load('parameters' . $this->suffix); |
|
| 142 | } |
|
| 143 | ||
| 144 | return $this; |
|
| 145 | } |
|
| 146 | ||
| 147 | /** |
|
| 148 | * This method is called at the end of the self::load() process, to add security related logic. |
|