Skip to content

Commit

Permalink
Added simple interface IConsumer
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed May 9, 2017
1 parent c76f7ee commit fdc220b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Consumer/IConsumer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2017 gameeapp.com <hello@gameeapp.com>
* @author Pavel Janda <pavel@gameeapp.com>
* @package Gamee
*/

namespace Gamee\RabbitMQ\Consumer;

use Bunny\Message;

interface IConsumer
{

public function consume(Message $message): int;

}

0 comments on commit fdc220b

Please sign in to comment.