| Total Complexity | 10 | 
| Total Lines | 121 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | class FailedResult implements FailedResultInterface  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 14 | { | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * @var string  | 
            ||
| 18 | */  | 
            ||
| 19 | protected $reason = '';  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * @var int  | 
            ||
| 23 | */  | 
            ||
| 24 | protected $firstId;  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * @var int  | 
            ||
| 28 | */  | 
            ||
| 29 | protected $lastId;  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * @var string  | 
            ||
| 33 | */  | 
            ||
| 34 | protected $itemType;  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * @var string  | 
            ||
| 38 | */  | 
            ||
| 39 | protected $processor;  | 
            ||
| 40 | |||
| 41 | /**  | 
            ||
| 42 | * @var int  | 
            ||
| 43 | */  | 
            ||
| 44 | protected $failedCount = 0;  | 
            ||
| 45 | |||
| 46 | /**  | 
            ||
| 47 | * @return int  | 
            ||
| 48 | */  | 
            ||
| 49 | public function getFirstId()  | 
            ||
| 50 |     { | 
            ||
| 51 | return $this->firstId;  | 
            ||
| 52 | }  | 
            ||
| 53 | |||
| 54 | /**  | 
            ||
| 55 | * @param int $itemId  | 
            ||
| 56 | *  | 
            ||
| 57 | * @return void  | 
            ||
| 58 | */  | 
            ||
| 59 | public function setFirstId($itemId)  | 
            ||
| 60 |     { | 
            ||
| 61 | $this->firstId = $itemId;  | 
            ||
| 62 | }  | 
            ||
| 63 | |||
| 64 | /**  | 
            ||
| 65 | * @return string  | 
            ||
| 66 | */  | 
            ||
| 67 | public function getItemType()  | 
            ||
| 68 |     { | 
            ||
| 69 | return $this->itemType;  | 
            ||
| 70 | }  | 
            ||
| 71 | |||
| 72 | /**  | 
            ||
| 73 | * @param string $itemType  | 
            ||
| 74 | *  | 
            ||
| 75 | * @return void  | 
            ||
| 76 | */  | 
            ||
| 77 | public function setItemType($itemType)  | 
            ||
| 80 | }  | 
            ||
| 81 | |||
| 82 | /**  | 
            ||
| 83 | * @return string  | 
            ||
| 84 | */  | 
            ||
| 85 | public function getReason()  | 
            ||
| 86 |     { | 
            ||
| 87 | return $this->reason;  | 
            ||
| 88 | }  | 
            ||
| 89 | |||
| 90 | /**  | 
            ||
| 91 | * @param string $reason  | 
            ||
| 92 | *  | 
            ||
| 93 | * @return void  | 
            ||
| 94 | */  | 
            ||
| 95 | public function setReason($reason)  | 
            ||
| 96 |     { | 
            ||
| 97 | $this->reason = $reason;  | 
            ||
| 98 | }  | 
            ||
| 99 | |||
| 100 | /**  | 
            ||
| 101 | * @return int  | 
            ||
| 102 | */  | 
            ||
| 103 | public function getLastId()  | 
            ||
| 106 | }  | 
            ||
| 107 | |||
| 108 | /**  | 
            ||
| 109 | * @param int $lastId  | 
            ||
| 110 | *  | 
            ||
| 111 | * @return void  | 
            ||
| 112 | */  | 
            ||
| 113 | public function setLastId($lastId)  | 
            ||
| 116 | }  | 
            ||
| 117 | |||
| 118 | /**  | 
            ||
| 119 | * @param int $count  | 
            ||
| 120 | *  | 
            ||
| 121 | * @return void  | 
            ||
| 122 | */  | 
            ||
| 123 | public function setFailedCount($count)  | 
            ||
| 124 |     { | 
            ||
| 125 | $this->failedCount = $count;  | 
            ||
| 126 | }  | 
            ||
| 127 | |||
| 128 | /**  | 
            ||
| 129 | * @return int  | 
            ||
| 130 | */  | 
            ||
| 131 | public function getFailedCount()  | 
            ||
| 134 | }  | 
            ||
| 135 | |||
| 137 | 
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.