4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\DependencyInjection\Argument;
15 * @author Guilhem Niot <guilhem.niot@gmail.com>
17 final class BoundArgument implements ArgumentInterface
19 private static $sequence = 0;
25 public function __construct($value)
27 $this->value = $value;
28 $this->identifier = ++self::$sequence;
34 public function getValues()
36 return array($this->value, $this->identifier, $this->used);
42 public function setValues(array $values)
44 list($this->value, $this->identifier, $this->used) = $values;