Listener::getEvent()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * ExtForms - Listener.php
4
 *
5
 * Initial version by: MisterX
6
 * Initial version created on: 31.07.2015
7
 */
8
9
namespace Ext\Event;
10
11
12
use Ext\Base;
13
14
class Listener extends Base
15
{
16
	protected $ignore = array('event');
17
18
	public function setEvent($event){
19
		return $this->setProperty('event',$event);
20
	}
21
22
	public function getEvent(){
23
		return $this->getProperty('event');
24
	}
25
26
	public function setFunction($function){
27
		return $this->setProperty('fn',$function);
28
	}
29
30
	public function setScope($scope){
31
		return $this->setProperty('scope',$scope);
32
	}
33
34
	public function setElement($element){
35
		return $this->setProperty('element',$element);
36
	}
37
38
	public function setParam($config){
39
		return $this->setProperty('param',$config);
40
	}
41
}