Spaces:
Runtime error
Runtime error
Download symfony/dependency-injection/Argument/IteratorArgument.php from Alcazard/vibe-coding-api: direct link, hf CLI and curl.
- Browser
- Download file 804 Bytes
-
https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/dependency-injection/Argument/IteratorArgument.php
- Command line
-
hf download hf://spaces/Alcazard/vibe-coding-api/symfony/dependency-injection/Argument/IteratorArgument.php
-
curl -L -o IteratorArgument.php https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/dependency-injection/Argument/IteratorArgument.php
804 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\Argument; | |
| /** | |
| * Represents a collection of values to lazily iterate over. | |
| * | |
| * @author Titouan Galopin <galopintitouan@gmail.com> | |
| */ | |
| class IteratorArgument implements ArgumentInterface | |
| { | |
| use ArgumentTrait; | |
| private array $values; | |
| public function __construct(array $values) | |
| { | |
| $this->setValues($values); | |
| } | |
| public function getValues(): array | |
| { | |
| return $this->values; | |
| } | |
| public function setValues(array $values): void | |
| { | |
| $this->values = $values; | |
| } | |
| } | |