| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | class CustomMessageMask extends \Webklex\IMAP\Support\Masks\MessageMask { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * New custom method which can be called through a mask |
||
| 17 | * @return string |
||
| 18 | */ |
||
| 19 | public function my_token(){ |
||
| 20 | return implode('-', [$this->message_id, $this->uid, $this->message_no]); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Get number of message attachments |
||
| 25 | * @return integer |
||
| 26 | */ |
||
| 27 | public function getAttachmentCount() { |
||
| 29 | } |
||
| 30 | |||
| 50 |