Directory based automatic service creation
1 open thread
Closes #3422359
Merge request reports
Activity
mentioned in merge request !6659 (closed)
added 28 commits
-
6b210101...5c30729a - 26 commits from branch
project:11.x
- 1f45165b - Merge branch '11.x' into 3422359-dir-automatic-service-creation
- 937550cb - remove symfony/config dependency
-
6b210101...5c30729a - 26 commits from branch
added 1 commit
- 97d63aa6 - remove glob support / implement a subset of...
396 397 $definition->setAutowired($service['autowire']); 397 398 } 398 399 399 $this->container->setDefinition($id, $definition); 400 if (isset($service['autoconfigure'])) { 401 $definition->setAutoconfigured($service['autoconfigure']); 402 } 403 404 if (array_key_exists('module', $service) || array_key_exists('modules', $service)) { 405 if (array_key_exists('resource', $service)) { 406 throw new \InvalidArgumentException('Service definitions may not have a `module` or `modules` definition simultaneously with a `resource` definition.'); 407 } 408 409 [$provider] = explode('.', basename($file), 2);
Please register or sign in to reply