Completed
Push — 183-default-layout-ext ( a97107 )
by
unknown
10:37
created

NormalizeNameExtension   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 3 1
1
<?php
2
3
namespace League\Plates\Extension\NormalizeName;
4
5
use League\Plates;
6
7
/** simply converts a path to a name in case it's not normalized. This is needed because template names can be paths, relative paths, or anything in between, this extension
8
    ensures that there is a normalized name always which allows for matching off of the name. */
9
final class NormalizeNameExtension implements Plates\Extension
10
{
11
    public function register(Plates\Engine $plates) {
12
13
    }
14
}
15