| 1 | <?php  | 
            ||
| 9 | abstract class AbstractOptions implements OptionsInterface  | 
            ||
| 10 | { | 
            ||
| 11 | use OptionsSerializerTrait;  | 
            ||
| 12 | |||
| 13 | /**  | 
            ||
| 14 | * @var string  | 
            ||
| 15 | */  | 
            ||
| 16 | protected $command;  | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * @var string  | 
            ||
| 20 | */  | 
            ||
| 21 | protected $queue;  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * Returns the command name  | 
            ||
| 25 | *  | 
            ||
| 26 | * @return string  | 
            ||
| 27 | *  | 
            ||
| 28 | * @throws MessageException If the handler property isn't set  | 
            ||
| 29 | */  | 
            ||
| 30 | public function command()  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * Returns the queue name  | 
            ||
| 41 | *  | 
            ||
| 42 | * @return string  | 
            ||
| 43 | *  | 
            ||
| 44 | * @throws MessageException If the queue property isn't set  | 
            ||
| 45 | */  | 
            ||
| 46 | 1 | public function queue()  | 
            |
| 54 | }  | 
            ||
| 55 |