MissingFormDataTransformerException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/*
3
 * WellCommerce Open-Source E-Commerce Platform
4
 * 
5
 * This file is part of the WellCommerce package.
6
 *
7
 * (c) Adam Piotrowski <[email protected]>
8
 * 
9
 * For the full copyright and license information,
10
 * please view the LICENSE file that was distributed with this source code.
11
 */
12
13
namespace WellCommerce\Component\Form\Exception;
14
15
/**
16
 * Class MissingFormDataTransformerException
17
 *
18
 * @author  Adam Piotrowski <[email protected]>
19
 */
20
class MissingFormDataTransformerException extends \LogicException
21
{
22
    /**
23
     * @param string $alias
24
     */
25
    public function __construct($alias)
26
    {
27
        parent::__construct(sprintf('Form DataTransformer "%s" is missing', $alias));
28
    }
29
}
30