BirdInCageEvent::getPrey()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of the EoHoneypotBundle package.
5
 *
6
 * (c) Eymen Gunay <[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 Eo\HoneypotBundle\Event;
13
14
use Eo\HoneypotBundle\Model\HoneypotPreyInterface;
15
use Symfony\Component\EventDispatcher\Event;
16
17
class BirdInCageEvent extends Event
18
{
19
    /**
20
     * @var HoneypotPreyInterface
21
     */
22
    protected $prey;
23
24
    /**
25
     * Class constructor
26
     *
27
     * @param HoneypotPreyInterface $prey
28
     */
29
    public function __construct(HoneypotPreyInterface $prey)
30
    {
31
        $this->prey = $prey;
32
    }
33
34
    /**
35
     * @return HoneypotPreyInterface
36
     */
37
    public function getPrey()
38
    {
39
        return $this->prey;
40
    }
41
}
42