View file cvServiceContainer/cvServiceParameter.php
<?php /** * cvServiceParameter * * cvServiceParameter represents a parameter reference. * * @package CYBERVILLE * @subpackage DI * @author Fabien Potencier <[email protected]> * @version $Id$ */ class cvServiceParameter { protected $id = null; /** * Constructor. * * @param string $id The parameter key */ public function __construct($id) { $this->id = $id; } /** * __toString. * * @return string The parameter key */ public function __toString() { return (string )$this->id; } } ?>