Completed
Pull Request — 2.0 (#75)
by Julien
02:03
created

QueryManagerClient::getClientType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
c 1
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/*
3
 * This file is part of the Pomm's Foundation package.
4
 *
5
 * (c) 2014 - 2015 Grégoire HUBERT <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace PommProject\Foundation\QueryManager;
11
12
use PommProject\Foundation\Client\Client;
13
14
/**
15
 * SimpleQueryManager
16
 *
17
 * Query system as a client.
18
 *
19
 * @package   Foundation
20
 * @copyright 2014 - 2015 Grégoire HUBERT
21
 * @author    Grégoire HUBERT
22
 * @license   X11 {@link http://opensource.org/licenses/mit-license.php}
23
 */
24
abstract class QueryManagerClient extends Client implements QueryManagerInterface
25
{
26
    /**
27
     * getClientType
28
     *
29
     * @see ClientInterface
30
     */
31
    public function getClientType()
32
    {
33
        return 'query_manager';
34
    }
35
36
    /**
37
     * getClientIdentifier
38
     *
39
     * @see ClientInterface
40
     */
41
    public function getClientIdentifier()
42
    {
43
        return get_class($this);
44
    }
45
}
46