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 */
16class 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 string $returnType
28     * @param object $object
29     * @param bool   $cloneObjects
30     */
31    public function __construct($className, $methodName, array $parameters, $returnType, $object, $cloneObjects = false)
32    {
33        parent::__construct($className, $methodName, $parameters, $returnType, $cloneObjects);
34
35        $this->object = $object;
36    }
37}
38