Completed
Push — master ( 1e5ff2...964092 )
by Андрей
02:39
created

EntryNameResolverMirror   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A resolveEntryNameByContext() 0 4 1
1
<?php
2
/**
3
 * @link    https://github.com/nnx-framework/entry-name-resolver
4
 * @author  Malofeykin Andrey  <[email protected]>
5
 */
6
namespace Nnx\EntryNameResolver;
7
8
/**
9
 * Class EntryNameResolverMirror
10
 *
11
 * @package Nnx\EntryNameResolver
12
 */
13
class EntryNameResolverMirror implements EntryNameResolverInterface
14
{
15
    /**
16
     * @inheritdoc
17
     *
18
     * @param      $entryName
19
     * @param null $context
20
     *
21
     * @return mixed
22
     */
23
    public function resolveEntryNameByContext($entryName, $context = null)
24
    {
25
        return $entryName;
26
    }
27
}
28