1 | <?php |
||
22 | abstract class Method extends ElementAbstract implements MethodInterface |
||
23 | { |
||
24 | |||
25 | /** |
||
26 | * The class name. |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $name; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $traitName; |
||
35 | |||
36 | /** |
||
37 | * @inheritdoc |
||
38 | */ |
||
39 | 22 | public function init() |
|
42 | |||
43 | /** |
||
44 | * @inheritdoc |
||
45 | * @return Method |
||
46 | */ |
||
47 | 3 | public function setParent(ElementInterface $parent) |
|
55 | |||
56 | /** |
||
57 | * @inheritdoc |
||
58 | * @return PhpClass |
||
59 | */ |
||
60 | 1 | public function getParent() |
|
64 | |||
65 | /** |
||
66 | * @inheritdoc |
||
67 | */ |
||
68 | 22 | public function setName($name) |
|
74 | |||
75 | /** |
||
76 | * @inheritdoc |
||
77 | */ |
||
78 | 14 | public function getName() |
|
82 | |||
83 | /** |
||
84 | * @inheritdoc |
||
85 | */ |
||
86 | 11 | public function getTraitName() |
|
90 | |||
91 | /** |
||
92 | * @inheritdoc |
||
93 | */ |
||
94 | 22 | public function setTraitName($traitName) |
|
99 | } |
||
100 |