Pull merge.
[yaffs-website] / vendor / phpunit / phpunit-mock-objects / src / Framework / MockObject / Invocation / Object.php
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  * Represents a non-static invocation.
13  *
14  * @since Class available since Release 1.0.0
15  */
16 class PHPUnit_Framework_MockObject_Invocation_Object extends PHPUnit_Framework_MockObject_Invocation_Static
17 {
18     /**
19      * @var object
20      */
21     public $object;
22
23     /**
24      * @param string $className
25      * @param string $methodname
26      * @param array  $parameters
27      * @param object $object
28      * @param object $cloneObjects
29      */
30     public function __construct($className, $methodName, array $parameters, $object, $cloneObjects = false)
31     {
32         parent::__construct($className, $methodName, $parameters, $cloneObjects);
33         $this->object = $object;
34     }
35 }