Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\DependencyInjection; Chris@0: Chris@0: /** Chris@0: * Parameter represents a parameter reference. Chris@0: * Chris@0: * @author Fabien Potencier Chris@0: */ Chris@0: class Parameter Chris@0: { Chris@0: private $id; Chris@0: Chris@0: /** Chris@0: * @param string $id The parameter key Chris@0: */ Chris@0: public function __construct($id) Chris@0: { Chris@0: $this->id = $id; Chris@0: } Chris@0: Chris@0: /** Chris@0: * @return string The parameter key Chris@0: */ Chris@0: public function __toString() Chris@0: { Chris@0: return (string) $this->id; Chris@0: } Chris@0: }