BossBey File Manager
PHP:
7.4.33
OS:
Linux
User:
root
Root
/
.
/
vendor
/
phpunit
/
phpunit-mock-objects
/
src
/
Framework
/
MockObject
/
Stub
📤 Upload
📝 New File
📁 New Folder
Close
Editing: ReturnReference.php
<?php /* * This file is part of the PHPUnit_MockObject package. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Stubs a method by returning a user-defined reference to a value. * * @since Class available since Release 3.0.7 */ class PHPUnit_Framework_MockObject_Stub_ReturnReference extends PHPUnit_Framework_MockObject_Stub_Return { public function __construct(&$value) { $this->value = &$value; } }
Save
Cancel