| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | abstract class Channel extends BaseObject implements ChannelInterface |
||
| 21 | { |
||
| 22 | const DEFAULT_TIMEOUT = 5.0; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var float |
||
| 26 | */ |
||
| 27 | protected $timeout; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Return timeout. |
||
| 31 | * @return int|mixed |
||
| 32 | */ |
||
| 33 | public function getTimeout() |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Set timeout. |
||
| 40 | * |
||
| 41 | * @param int $timeout |
||
| 42 | * @return $this |
||
| 43 | */ |
||
| 44 | public function setTimeout($timeout) |
||
| 48 | } |
||
| 49 | } |