Вход Регистрация
Файл: gapps/vendor/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ObjectProphecyException.php
Строк: 25
<?php

/*
 * This file is part of the Prophecy.
 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
 *     Marcello Duarte <marcello.duarte@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace ProphecyExceptionProphecy;

use 
ProphecyProphecyObjectProphecy;

class 
ObjectProphecyException extends RuntimeException implements ProphecyException
{
    private 
$objectProphecy;

    public function 
__construct($messageObjectProphecy $objectProphecy)
    {
        
parent::__construct($message);

        
$this->objectProphecy $objectProphecy;
    }

    
/**
     * @return ObjectProphecy
     */
    
public function getObjectProphecy()
    {
        return 
$this->objectProphecy;
    }
}
Онлайн: 1
Реклама