| Total Complexity | 4 | 
| Total Lines | 41 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 7 | trait FilterTrait  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * A filter for the list of options.  | 
            ||
| 11 | *  | 
            ||
| 12 | * @var \Maknz\Slack\Object\Filter  | 
            ||
| 13 | */  | 
            ||
| 14 | protected $filter;  | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * Get the filter for the list of options.  | 
            ||
| 18 | *  | 
            ||
| 19 | * @var \Maknz\Slack\Object\Filter  | 
            ||
| 20 | */  | 
            ||
| 21 | 6 | public function getFilter()  | 
            |
| 22 |     { | 
            ||
| 23 | 6 | return $this->filter;  | 
            |
| 24 | }  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * Set the filter for the list of options.  | 
            ||
| 28 | *  | 
            ||
| 29 | * @param mixed $filter  | 
            ||
| 30 | *  | 
            ||
| 31 | * @return $this  | 
            ||
| 32 | *  | 
            ||
| 33 | * @throws \InvalidArgumentException  | 
            ||
| 34 | */  | 
            ||
| 35 | 6 | public function setFilter($filter)  | 
            |
| 48 | }  | 
            ||
| 49 | }  | 
            ||
| 50 |