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

NormalizeNameExtension::register()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
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