Tile   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 18
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A maxZoom() 0 3 1
1
<?php
2
3
namespace Bavix\Leaflet;
4
5
abstract class Tile
6
{
7
    /**
8
     * @return string
9
     */
10
    abstract public function layer(): string;
11
12
    /**
13
     * @return string
14
     */
15
    abstract public function attribution(): string;
16
17
    /**
18
     * @return int
19
     */
20
    public function maxZoom(): int
21
    {
22
        return 19;
23
    }
24
25
}
26