Spaces:
Runtime error
Runtime error
vibe-coding-api / symfony /dependency-injection /Loader /Configurator /Traits /AutoconfigureTrait.php
vibe-coding-api / symfony /dependency-injection /Loader /Configurator /Traits /AutoconfigureTrait.php
Download symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php from Alcazard/vibe-coding-api: direct link, hf CLI and curl.
- Browser
- Download file 808 Bytes
-
https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php
- Command line
-
hf download hf://spaces/Alcazard/vibe-coding-api/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php
-
curl -L -o AutoconfigureTrait.php https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php
808 Bytes
| /* | |
| * This file is part of the Symfony package. | |
| * | |
| * (c) Fabien Potencier <fabien@symfony.com> | |
| * | |
| * 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\Exception\InvalidArgumentException; | |
| trait AutoconfigureTrait | |
| { | |
| /** | |
| * Sets whether or not instanceof conditionals should be prepended with a global set. | |
| * | |
| * @return $this | |
| * | |
| * @throws InvalidArgumentException when a parent is already set | |
| */ | |
| final public function autoconfigure(bool $autoconfigured = true): static | |
| { | |
| $this->definition->setAutoconfigured($autoconfigured); | |
| return $this; | |
| } | |
| } | |