ImageSize300x300   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getSlug() 0 4 1
1
<?php
2
3
namespace Gcsc\LaravelMultisizeImage\ImageSizes;
4
5
class ImageSize300x300 extends AbstractImageSize
6
{
7
    /**
8
     * ImageSize300x300 constructor.
9
     */
10
    public function __construct()
11
    {
12
        parent::__construct(300, 300, false);
13
    }
14
15
    public static function getSlug()
16
    {
17
        return '300x300';
18
    }
19
}
20