LFG::queue()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php namespace FreedomCore\TrinityCore\Console\Commands;
2
3
use FreedomCore\TrinityCore\Console\Abstracts\BaseCommand;
4
5
/**
6
 * Class LFG
7
 * @package FreedomCore\TrinityCore\Console\Commands
8
 * @codeCoverageIgnore
9
 */
10
class LFG extends BaseCommand
11
{
12
13
    /**
14
     * Show information about current LFG queues
15
     * @return array|string
16
     */
17
    public function queue()
18
    {
19
        return $this->executeCommand(__FUNCTION__, get_defined_vars());
20
    }
21
22
    /**
23
     * Cleans current queue, only for DEBUG
24
     * @return array|string
25
     */
26
    public function clean()
27
    {
28
        return $this->executeCommand(__FUNCTION__, get_defined_vars());
29
    }
30
31
    /**
32
     * Shows current LFG options.
33
     * IF value is set, updates existing value.
34
     * @param string $value
35
     * @return array|string
36
     */
37
    public function options($value = '')
38
    {
39
        return $this->executeCommand(__FUNCTION__, get_defined_vars());
40
    }
41
}
42