1 | <?php |
||
16 | class ClassGenerator extends SignatureGenerator |
||
17 | { |
||
18 | /** |
||
19 | * @param string $className |
||
20 | * @param boolean $addToUse |
||
21 | * @return $this |
||
22 | */ |
||
23 | public function setExtends($className, $addToUse = false) |
||
33 | |||
34 | /** |
||
35 | * @param string $interfaceName |
||
36 | * @param boolean $addToUse |
||
37 | * @return $this |
||
38 | */ |
||
39 | public function addImplements($interfaceName, $addToUse = false) |
||
49 | |||
50 | /** |
||
51 | * @param PropertyGenerator $property |
||
52 | * @return $this |
||
53 | */ |
||
54 | public function addProperty(PropertyGenerator $property) |
||
60 | |||
61 | /** |
||
62 | * @param TraitGenerator $trait |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function addTrait(TraitGenerator $trait) |
||
71 | |||
72 | /** |
||
73 | * @return $this |
||
74 | */ |
||
75 | public function markAsAbstract() |
||
81 | |||
82 | /** |
||
83 | * @return $this |
||
84 | */ |
||
85 | public function markAsFinal() |
||
91 | } |