mirror of
https://github.com/Mibew/mibew.git
synced 2025-05-30 22:32:34 +03:00
Rename \Mibew\API\Interation\Interaction class to AbstractInteraction
This commit is contained in:
parent
93f5b82dec
commit
98502d9e93
@ -333,7 +333,7 @@ class API
|
|||||||
*
|
*
|
||||||
* @param \Mibew\API\Interaction $interaction Interaction type object
|
* @param \Mibew\API\Interaction $interaction Interaction type object
|
||||||
*/
|
*/
|
||||||
protected function __construct(Interaction\Interaction $interaction)
|
protected function __construct(Interaction\AbstractInteraction $interaction)
|
||||||
{
|
{
|
||||||
$this->interaction = $interaction;
|
$this->interaction = $interaction;
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ namespace Mibew\API\Interaction;
|
|||||||
/**
|
/**
|
||||||
* Encapsulates interaction type
|
* Encapsulates interaction type
|
||||||
*/
|
*/
|
||||||
abstract class Interaction
|
abstract class AbstractInteraction
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Reserved function's names
|
* Reserved function's names
|
@ -20,12 +20,12 @@ namespace Mibew\API\Interaction;
|
|||||||
/**
|
/**
|
||||||
* Implements Mibew Core - Mibew Chat Window interaction
|
* Implements Mibew Core - Mibew Chat Window interaction
|
||||||
*/
|
*/
|
||||||
class ChatInteraction extends Interaction
|
class ChatInteraction extends AbstractInteraction
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Reserved function's names
|
* Reserved function's names
|
||||||
* @var array
|
* @var array
|
||||||
* @see \Mibew\API\Interaction\Interaction::$reservedFunctionNames
|
* @see \Mibew\API\Interaction\AbstractInteraction::$reservedFunctionNames
|
||||||
*/
|
*/
|
||||||
public $reservedFunctionNames = array(
|
public $reservedFunctionNames = array(
|
||||||
'result',
|
'result',
|
||||||
@ -34,7 +34,7 @@ class ChatInteraction extends Interaction
|
|||||||
/**
|
/**
|
||||||
* Defines obligatory arguments and default values for them
|
* Defines obligatory arguments and default values for them
|
||||||
* @var array
|
* @var array
|
||||||
* @see \Mibew\API\Interaction\Interaction::$obligatoryArgumnents
|
* @see \Mibew\API\Interaction\AbstractInteraction::$obligatoryArgumnents
|
||||||
*/
|
*/
|
||||||
protected $obligatoryArguments = array(
|
protected $obligatoryArguments = array(
|
||||||
'*' => array(
|
'*' => array(
|
||||||
|
@ -20,12 +20,12 @@ namespace Mibew\API\Interaction;
|
|||||||
/**
|
/**
|
||||||
* Implements Mibew Core - Mibew invitation waiting window interaction
|
* Implements Mibew Core - Mibew invitation waiting window interaction
|
||||||
*/
|
*/
|
||||||
class InviteInteraction extends Interaction
|
class InviteInteraction extends AbstractInteraction
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Reserved function's names
|
* Reserved function's names
|
||||||
* @var array
|
* @var array
|
||||||
* @see \Mibew\API\Interaction\Interaction::$reservedFunctionNames
|
* @see \Mibew\API\Interaction\AbstractInteraction::$reservedFunctionNames
|
||||||
*/
|
*/
|
||||||
public $reservedFunctionNames = array(
|
public $reservedFunctionNames = array(
|
||||||
'result',
|
'result',
|
||||||
@ -34,7 +34,7 @@ class InviteInteraction extends Interaction
|
|||||||
/**
|
/**
|
||||||
* Defines obligatory arguments and default values for them
|
* Defines obligatory arguments and default values for them
|
||||||
* @var array
|
* @var array
|
||||||
* @see \Mibew\API\Interaction\Interaction::$obligatoryArgumnents
|
* @see \Mibew\API\Interaction\AbstractInteraction::$obligatoryArgumnents
|
||||||
*/
|
*/
|
||||||
protected $obligatoryArguments = array(
|
protected $obligatoryArguments = array(
|
||||||
'*' => array(
|
'*' => array(
|
||||||
|
@ -20,12 +20,12 @@ namespace Mibew\API\Interaction;
|
|||||||
/**
|
/**
|
||||||
* Implements Mibew Core - Mibew Users list interaction
|
* Implements Mibew Core - Mibew Users list interaction
|
||||||
*/
|
*/
|
||||||
class UsersInteraction extends Interaction
|
class UsersInteraction extends AbstractInteraction
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Reserved function's names
|
* Reserved function's names
|
||||||
* @var array
|
* @var array
|
||||||
* @see \Mibew\API\Interaction\Interaction::$reservedFunctionNames
|
* @see \Mibew\API\Interaction\AbstractInteraction::$reservedFunctionNames
|
||||||
*/
|
*/
|
||||||
public $reservedFunctionNames = array(
|
public $reservedFunctionNames = array(
|
||||||
'result',
|
'result',
|
||||||
@ -34,7 +34,7 @@ class UsersInteraction extends Interaction
|
|||||||
/**
|
/**
|
||||||
* Defines obligatory arguments and default values for them
|
* Defines obligatory arguments and default values for them
|
||||||
* @var array
|
* @var array
|
||||||
* @see \Mibew\API\Interaction\Interaction::$obligatoryArgumnents
|
* @see \Mibew\API\Interaction\AbstractInteraction::$obligatoryArgumnents
|
||||||
*/
|
*/
|
||||||
protected $obligatoryArguments = array(
|
protected $obligatoryArguments = array(
|
||||||
'*' => array(
|
'*' => array(
|
||||||
|
Loading…
Reference in New Issue
Block a user