1<?php
2/*
3 * This file is part of the PHPUnit_MockObject package.
4 *
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11/**
12 * Stubs a method by returning a user-defined reference to a value.
13 *
14 * @since Class available since Release 3.0.7
15 */
16class PHPUnit_Framework_MockObject_Stub_ReturnReference extends PHPUnit_Framework_MockObject_Stub_Return
17{
18    public function __construct(&$value)
19    {
20        $this->value = &$value;
21    }
22}
23