LdapObjectType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
1
<?php
2
/**
3
 * This file is part of the LdapToolsBundle package.
4
 *
5
 * (c) Chad Sikorra <[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
11
namespace LdapTools\Bundle\LdapToolsBundle\Doctrine\Type;
12
13
use Doctrine\DBAL\Types\TextType;
14
15
/**
16
 * More or less serves as an alias for a text type to store a single LdapObject.
17
 *
18
 * @author Chad Sikorra <[email protected]>
19
 */
20
class LdapObjectType extends TextType
21
{
22
    const TYPE = 'ldap_object';
23
24
    /**
25
     * @inheritdoc
26
     */
27
    public function getName()
28
    {
29
        return self::TYPE;
30
    }
31
}
32