File "CreateResponseClassEvent.php"

Full Path: /var/www/bvnghean.vn/wp-content/upgrade/updraftplus.1.23.12/updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Command/CreateResponseClassEvent.php
File size: 572 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Guzzle\Service\Command;

use Guzzle\Common\Event;

/**
 * Event class emitted with the operation.parse_class event
 */
class CreateResponseClassEvent extends Event
{
    /**
     * Set the result of the object creation
     *
     * @param mixed $result Result value to set
     */
    public function setResult($result)
    {
        $this['result'] = $result;
        $this->stopPropagation();
    }

    /**
     * Get the created object
     *
     * @return mixed
     */
    public function getResult()
    {
        return $this['result'];
    }
}