| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class Bot extends AbstractDefinitionComponent |
||
| 23 | { |
||
| 24 | use StoreArrayIndexTrait; |
||
| 25 | |||
| 26 | const IDENTIFIER_PREFIX = '__NOTIZ_SLACK_BOT_'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | protected $name; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | protected $avatar; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | public function getName() |
||
| 42 | { |
||
| 43 | return $this->name; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getAvatar() |
||
| 50 | { |
||
| 51 | return $this->avatar; |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | public function getIdentifier() |
||
| 60 | } |
||
| 61 | } |
||
| 62 |