1 | <?php |
||
19 | class Method |
||
20 | { |
||
21 | public $name; |
||
22 | public $method; |
||
23 | public $context = []; |
||
24 | public $defaultContext = true; |
||
25 | public $inherit = true; |
||
26 | |||
27 | 1 | public function __construct(array $values) |
|
50 | |||
51 | /** |
||
52 | * @return mixed |
||
53 | */ |
||
54 | public function getName() |
||
58 | |||
59 | /** |
||
60 | * @param mixed $name |
||
61 | */ |
||
62 | 1 | public function setName($name) |
|
66 | |||
67 | /** |
||
68 | * @return mixed |
||
69 | */ |
||
70 | 8 | public function getMethod() |
|
74 | |||
75 | /** |
||
76 | * @param mixed $method |
||
77 | */ |
||
78 | 1 | public function setMethod($method) |
|
82 | |||
83 | /** |
||
84 | * @return array |
||
85 | */ |
||
86 | 8 | public function getContext() |
|
90 | |||
91 | /** |
||
92 | * @param array $context |
||
93 | */ |
||
94 | 1 | public function setContext($context) |
|
98 | |||
99 | /** |
||
100 | * @return boolean |
||
101 | */ |
||
102 | 8 | public function isDefaultContext() |
|
106 | |||
107 | /** |
||
108 | * @param boolean $defaultContext |
||
109 | */ |
||
110 | 1 | public function setDefaultContext($defaultContext) |
|
114 | |||
115 | /** |
||
116 | * @return boolean |
||
117 | */ |
||
118 | 8 | public function isInherit() |
|
122 | |||
123 | /** |
||
124 | * @param boolean $inherit |
||
125 | */ |
||
126 | 1 | public function setInherit($inherit) |
|
130 | } |
||
131 |