Completed
Push — master ( e504c7...3fd00a )
by Simonas
17:33
created

PostCreateManagerEvent::getManager()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the ONGR package.
5
 *
6
 * (c) NFQ Technologies UAB <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace ONGR\ElasticsearchBundle\Event;
13
14
use ONGR\ElasticsearchBundle\Service\Manager;
15
use Symfony\Component\EventDispatcher\Event;
16
17
class PostCreateManagerEvent extends Event
18
{
19
    /**
20
     * @var Manager
21
     */
22
    private $manager;
23
24
    /**
25
     * PostCreateManagerEvent constructor.
26
     *
27
     * @param Manager $manager
28
     */
29
    public function __construct(Manager $manager)
30
    {
31
        $this->manager = $manager;
32
    }
33
34
    /**
35
     * @return Manager
36
     */
37
    public function getManager()
38
    {
39
        return $this->manager;
40
    }
41
42
    /**
43
     * @param Manager $manager
44
     */
45
    public function setManager($manager)
46
    {
47
        $this->manager = $manager;
48
    }
49
}
50