Rename \Mibew\API\Interation\Interaction class to AbstractInteraction

This commit is contained in:
Dmitriy Simushev 2014-01-28 15:36:13 +00:00
parent 93f5b82dec
commit 98502d9e93
5 changed files with 11 additions and 11 deletions

View File

@ -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;
} }

View File

@ -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

View File

@ -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(

View File

@ -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(

View File

@ -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(