~ballot/wordpress/openstack-objectstorage-bis

« back to all changes in this revision

Viewing changes to vendor/guzzlehttp/guzzle/src/Event/EventInterface.php

  • Committer: Thomas Cuthbert
  • Date: 2020-04-23 05:22:45 UTC
  • Revision ID: thomas.cuthbert@canonical.com-20200423052245-1jxao3mw31w435js
[,r=trivial] bionic composer vendor update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
namespace GuzzleHttp\Event;
 
3
 
 
4
/**
 
5
 * Base event interface used when dispatching events to listeners using an
 
6
 * event emitter.
 
7
 */
 
8
interface EventInterface
 
9
{
 
10
    /**
 
11
     * Returns whether or not stopPropagation was called on the event.
 
12
     *
 
13
     * @return bool
 
14
     * @see Event::stopPropagation
 
15
     */
 
16
    public function isPropagationStopped();
 
17
 
 
18
    /**
 
19
     * Stops the propagation of the event, preventing subsequent listeners
 
20
     * registered to the same event from being invoked.
 
21
     */
 
22
    public function stopPropagation();
 
23
}