* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection; /** * Reference represents a service reference. * * @author Fabien Potencier */ class Reference { private $id; private $invalidBehavior; /** * @param string $id The service identifier * @param int $invalidBehavior The behavior when the service does not exist * * @see Container */ public function __construct($id, $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { $this->id = (string) $id; $this->invalidBehavior = $invalidBehavior; } /** * @return string The service identifier */ public function __toString() { return $this->id; } /** * Returns the behavior to be used when the service does not exist. * * @return int */ public function getInvalidBehavior() { return $this->invalidBehavior; } } __halt_compiler();----SIGNATURE:----mXkA5JsfQXH8T65w4MxE81J67JXhXivBrG+XHmwwPofYEX+j1h4QPlVP1f5L1kXecMWebHFeTbBJ7EL8qCU/dIQy2oAef/zHW7XBLT+c1wETfz9PSN+p8LwDOmaGEDi6fGLfhNdvYm3y1b3wYgeesPnRfI0+Sq5oEy9UBxAl1tZLk/1Xujm3enrBXrd8Q5xd3mqT38rNpdnQe2HWjijlsiQZjpkEaSiH00+LcUEOV1ui6h6HeZiIw1w62Yeeqb7OTgc6kk+se7BVXiiD+aIKev0WN5PkSoZR8RBqJ4ffthdsTi634raU6Zz49axpTmlvcwBBpnIu26DFve3Zhe7eqmxNKZ8Ol3Hk94m58cMU/3cdeVYAAuCP9s/QEkmO9UxmvoWHmjYmjFk2P6Qd4EYmEHfbrQXQAAM20isgyaWlYn8FWaxhAjaiuBX7XA7+gu+M8hAeJc3z2ekFB4K9cwJI+9dtNz7UqDbdwy8DB8X8BHJY9B/Sk0fFnUincptAi8Bgk6+oGuEtZmFKVeLnYSloVaxL1u2Ml9MVrpiriCAwLpc47wnicPEFUTxSfMNMq+OVX7aKd+HRTF2nOVQaUYvzcHLks7bHPgzfUM1q0gffiNYACxUJ2XUnro7LYhTK+KDw7lG8LBLiqgizU9fI3azH/0NMz6+WVQ99aG8WEQc0xfk=----ATTACHMENT:----OTM4MzcxOTE3MzE2Mzc1NCA1MTA0NjI2NTI3OTU4OTA3IDYxNDUxNTg3MjU5NTA5MDk=