| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | class SetMyCommandsMethod implements SetMethodAliasInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * A JSON-serialized list of bot commands to be set as the list of the bot's commands. |
||
| 21 | * At most 100 commands can be specified. |
||
| 22 | * |
||
| 23 | * @var BotCommandType[] |
||
| 24 | */ |
||
| 25 | public $commands; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param BotCommandType[] $commands |
||
| 29 | */ |
||
| 30 | 3 | public static function create(array $commands): SetMyCommandsMethod |
|
| 38 |