BaseGameAction   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 17
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A run() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: chrl
5
 * Date: 27/10/16
6
 * Time: 11:09
7
 */
8
9
namespace Chrl\AppBundle\GameAction;
10
11
use Chrl\AppBundle\BuktopuhaBotApi;
12
use Chrl\AppBundle\Service\GameService;
13
14
abstract class BaseGameAction implements GameActionInterface
15
{
16
    /** @var GameService */
17
    public $gameService;
18
    public $botApi;
19
20
    public function __construct(GameService $gameService, BuktopuhaBotApi $botApi)
21
    {
22
        $this->gameService = $gameService;
23
        $this->botApi = $botApi;
24
    }
25
26
    public function run($message, $user)
27
    {
28
        // TODO: Implement run() method.
29
    }
30
}
31