* * 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:----kOjjCN9QPUHppgDquolqKjP8O+sY9hbJmtyroQmuN9wb2/A5Qkp7250Pp2l+zxesmHz6MicquWfP9eStbvrdN7GUwCUtx+XIx7yszB/GLHZgFEXh7OnVeMpe3ehPEe2K3NAB6PzsguiptCO5l714LFqlzBjn7n/HQDSOF+TNN4Ee1VZ/T+b2q5oPu+HHyK3SPtz+C7JxNm5ny/53ID1+7A4mdWwp13pWgIsI6xDZT5TE92SPKjp/AKoM7ekzIQYrEYG1/iHcZIFTKuySPvaTIrIZUq7Mp4VVrY/wMyqp3FdNeq4Cp2f5rruB+91BFPxa+BzWlty6SJvZLxDF6uoFoCPSUfXfn1UNoTWTrLVbVrCp8u2cNIlYUXK73CzZB33+SL4YT5tk1jIt6YHAJsFCWWNgK4aRMgyhy7PmXKIPwJX3OBlOgPiw8GfccN5U3ZVWr0fNE6AALFum7kGdHJ43vgASvEd0BYz9nXn126L+yAB/6aKUHRjScMQTFsloUStKQ2FAFO3e5vMLf5C+do7qHou/50QJlraJb9Ncd6PkAV2HHVljODgcNKW3+Id+HHjK4TC6bb7uganCksPj34z012R7HE0ugOz8+ehuFbIEcAadpIB8KV5+J7hCCR94YYj3izAO5Kjg5O3CyJH1oCYOhpQ38bSGgA1MyG5K0xgpgfk=----ATTACHMENT:----MjY3MDc2MzAxNzg1NTQxIDM3ODMyMjU4NDAwODA0NTggNTU5MDk1OTUwNDc3MzcxMQ==