scratch – Blame information for rev

Subversion Repositories:
Rev:
Rev Author Line No. Line
115 office 1 <?php
2  
3 /*
4 * This file is part of Alchemy\BinaryDriver.
5 *
6 * (c) Alchemy <info@alchemy.fr>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11  
12 namespace Alchemy\BinaryDriver\Listeners;
13  
14 use Evenement\EventEmitterInterface;
15  
16 interface ListenerInterface extends EventEmitterInterface
17 {
18 /**
19 * Handle the output of a ProcessRunner
20 *
21 * @param string $type The data type, one of Process::ERR, Process::OUT constants
22 * @param string $data The output
23 */
24 public function handle($type, $data);
25  
26 /**
27 * An array of events that should be forwarded to BinaryInterface
28 *
29 * @return array
30 */
31 public function forwardedEvents();
32 }