* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Loader\Configurator\Traits; use Symfony\Component\DependencyInjection\ChildDefinition; use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait AutoconfigureTrait { /** * Sets whether or not instanceof conditionals should be prepended with a global set. * * @param bool $autoconfigured * * @return $this * * @throws InvalidArgumentException when a parent is already set */ final public function autoconfigure($autoconfigured = true) { if ($autoconfigured && $this->definition instanceof ChildDefinition) { throw new InvalidArgumentException(sprintf('The service "%s" cannot have a "parent" and also have "autoconfigure". Try disabling autoconfiguration for the service.', $this->id)); } $this->definition->setAutoconfigured($autoconfigured); return $this; } } __halt_compiler();----SIGNATURE:----Tsq3HQvrD/Gc4a9B7Etfkedz5R1Md/fz6oMt62SlNjFvExdiri5m4tA+LZXLMoAqVBIknIrCW7iQVdW7TO43/1DxCw3w4iis/y5reoQmgZdcGVXdz6MsDCghcKomlZh3nLmYK5gS+5e8yNWJn6EboWm3KTM8U2QrI7AaRZ4aj8YQTcDkuEQnLN2LRzv9KUsk86Nic+jHnLdcSXpQweiHKUWMJ1wjPLZt2yDs68Cwetb0CPLW1pmzA+IMJtEowgUVHM/JCBLNi7uILP3zKHUr8x5dS72lFiFPq+QeuNaM6Pzii/bd5Na6058JnOtqX9BHcGap6SasZmIl46fm4gcs5nnn0obE/FKL2cG40cP9KTHJwMrmuIMfG3TKoA9XWGFAGfx8HfwT+Kp06yaKcFgaTHfKSh16JHNyOUE7zXTS70ZyuvbpIc+FSJUHZz1uDOHusDCJ1/UiEZdeKoehZczbun0krHzLi9mm3+dI/Ds4OnlGY3q3zLV1rzG/mtqB4kH2jAeParMiQjBtdRGj2mEuwxuIsAK3A+YMyRZqzXZebdWI7t0gXvCD+fWXYGWidCCJqCAmeN0e/ETeTg9auCUVzF2pNr/1EhYpOSBw/YYznDff6RJ1ZU4KwVk/Ulcko8+Ybe3y8QGIl9EE42+Qi2o1slsyGh3AIhHlICtYxoQzfxI=----ATTACHMENT:----NTk5NzEzNDQ1ODg5Mjg2OCAzMDA0MDY2NDYzNTI3OSAyMzk2NDkxMzU3MTA4MTE4