FileSystemEvent   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getPrimaryFileSystemWrapper() 0 4 1
1
<?php
2
/**
3
 * This file is part of the IrishDan\ResponsiveImageBundle package.
4
 *
5
 * (c) Daniel Byrne <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE file that was distributed with this source
8
 * code.
9
 */
10
11
namespace IrishDan\ResponsiveImageBundle\Event;
12
13
use IrishDan\ResponsiveImageBundle\FileSystem\PrimaryFileSystemWrapper;
14
use Symfony\Component\EventDispatcher\Event;
15
16
17
/**
18
 * Class FileSystemEvent
19
 *
20
 * @package IrishDan\ResponsiveImageBundle\Event
21
 */
22
class FileSystemEvent extends Event
23
{
24
    /**
25
     * @var PrimaryFileSystemWrapper
26
     */
27
    protected $PrimaryFileSystemWrapper;
28
29
    /**
30
     * FileSystemEvent constructor.
31
     *
32
     * @param PrimaryFileSystemWrapper $PrimaryFileSystemWrapper
33
     */
34
    public function __construct(PrimaryFileSystemWrapper $PrimaryFileSystemWrapper)
35
    {
36
        $this->PrimaryFileSystemWrapper = $PrimaryFileSystemWrapper;
37
    }
38
39
    /**
40
     * @return PrimaryFileSystemWrapper
41
     */
42
    public function getPrimaryFileSystemWrapper()
43
    {
44
        return $this->PrimaryFileSystemWrapper;
45
    }
46
}