| 1 | <?php |
||
| 12 | class ChatCommandPlugin implements \eXpansion\Framework\Core\DataProviders\Listener\ChatCommandInterface |
||
| 13 | { |
||
| 14 | |||
| 15 | protected $chatCommands; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * ChatCommands constructor. |
||
| 19 | * @param $chatCommands |
||
| 20 | */ |
||
| 21 | public function __construct(array $chatCommands) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get list of chat commands available. |
||
| 28 | * |
||
| 29 | * @return \eXpansion\Framework\Core\Model\ChatCommand\ChatCommandInterface[] |
||
| 30 | */ |
||
| 31 | public function getChatCommands() |
||
| 35 | } |