Spaces:
Runtime error
Runtime error
Download symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php from Alcazard/vibe-coding-api: direct link, hf CLI and curl.
- Browser
- Download file 605 Bytes
-
https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php
- Command line
-
hf download hf://spaces/Alcazard/vibe-coding-api/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php
-
curl -L -o PropertyTrait.php https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php
605 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; | |
| trait PropertyTrait | |
| { | |
| /** | |
| * Sets a specific property. | |
| * | |
| * @return $this | |
| */ | |
| final public function property(string $name, mixed $value): static | |
| { | |
| $this->definition->setProperty($name, static::processValue($value, true)); | |
| return $this; | |
| } | |
| } | |