ServiceNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getMessageDefinition() 0 4 1
1
<?php
2
/*
3
 * This file is part of the Borobudur-DependencyInjection package.
4
 *
5
 * (c) Hexacodelabs <http://hexacodelabs.com>
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 Borobudur\DependencyInjection\Exception;
12
13
/**
14
 * @author      Iqbal Maulana <[email protected]>
15
 * @created     8/8/15
16
 */
17
class ServiceNotFoundException extends ParameterNotFoundException
18
{
19
    /**
20
     * @return string
21
     */
22
    protected function getMessageDefinition()
23
    {
24
        return sprintf('Service "%s" is undefined.', $this->name);
25
    }
26
}
27