Commit 970ae10b authored by MBoretto's avatar MBoretto

Command.php

parent cbc70edd
<?php
/*
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
......@@ -14,6 +14,10 @@ use Longman\TelegramBot\Entities\Chat;
use Longman\TelegramBot\Entities\Update;
use Longman\TelegramBot\Entities\User;
/**
* Class Commad.
*
*/
abstract class Command
{
/**
......@@ -176,9 +180,10 @@ abstract class Command
/**
* Get command config
*
* @todo Returns need looking at!
* Look for paramenter $name if found return it, if not return null.
* If $name is not set return the all params setted
*
* @param string $name
* @param string|null $name
* @return mixed
*/
public function getConfig($name = null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment