lib/Drupal/Core/DependencyInjection/YamlFileLoader.php 1 location
|
@@ 141-143 (lines=3) @@
|
| 138 |
|
return; |
| 139 |
|
} |
| 140 |
|
|
| 141 |
|
if (!is_array($service)) { |
| 142 |
|
throw new InvalidArgumentException(sprintf('A service definition must be an array or a string starting with "@" but %s found for service "%s" in %s. Check your YAML syntax.', gettype($service), $id, $file)); |
| 143 |
|
} |
| 144 |
|
|
| 145 |
|
if (isset($service['alias'])) { |
| 146 |
|
$public = !array_key_exists('public', $service) || (bool) $service['public']; |
modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php 1 location
|
@@ 145-147 (lines=3) @@
|
| 142 |
|
return; |
| 143 |
|
} |
| 144 |
|
|
| 145 |
|
if (!is_array($service)) { |
| 146 |
|
throw new InvalidArgumentException(sprintf('A service definition must be an array or a string starting with "@" but %s found for service "%s" in %s. Check your YAML syntax.', gettype($service), $id, $file)); |
| 147 |
|
} |
| 148 |
|
|
| 149 |
|
if (isset($service['alias'])) { |
| 150 |
|
$public = !array_key_exists('public', $service) || (bool) $service['public']; |