Completed
Push — 3.x ( a1671f...933ad7 )
by Javier
03:02
created

FieldDescription   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 49
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

7 Methods

Rating   Name   Duplication   Size   Complexity  
A setAssociationMapping() 0 4 1
A getTargetEntity() 0 4 1
A getTargetModel() 0 4 1
A setFieldMapping() 0 4 1
A isIdentifier() 0 4 1
A setParentAssociationMappings() 0 4 1
A getValue() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Sonata Project package.
7
 *
8
 * (c) Thomas Rabaix <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Sonata\AdminBundle\Tests\Fixtures\Admin;
15
16
use Sonata\AdminBundle\Admin\BaseFieldDescription;
17
18
class FieldDescription extends BaseFieldDescription
19
{
20
    public function setAssociationMapping($associationMapping): void
21
    {
22
        // TODO: Implement setAssociationMapping() method.
23
    }
24
25
    public function getTargetEntity(): void
26
    {
27
        // TODO: Implement getTargetEntity() method.
28
    }
29
30
    public function getTargetModel(): ?string
31
    {
32
        throw new \BadMethodCallException(sprintf('Implement %s() method.', __METHOD__));
33
    }
34
35
    public function setFieldMapping($fieldMapping): void
36
    {
37
        // TODO: Implement setFieldMapping() method.
38
    }
39
40
    public function isIdentifier(): void
41
    {
42
        // TODO: Implement isIdentifier() method.
43
    }
44
45
    /**
46
     * set the parent association mappings information.
47
     *
48
     * @param array $parentAssociationMappings
49
     */
50
    public function setParentAssociationMappings(array $parentAssociationMappings): void
51
    {
52
        // TODO: Implement setParentAssociationMappings() method.
53
    }
54
55
    /**
56
     * return the value linked to the description.
57
     *
58
     * @param  $object
59
     *
60
     * @return bool|mixed
61
     */
62
    public function getValue($object)
63
    {
64
        // TODO: Implement getValue() method.
65
    }
66
}
67