1 | <?php |
||
7 | class ClassWriter extends WriterAbstract |
||
8 | { |
||
9 | /** |
||
10 | * @var \Flagbit\Plantuml\TokenReflection\ConstantWriter |
||
11 | */ |
||
12 | private $constantWriter; |
||
13 | |||
14 | /** |
||
15 | * @var \Flagbit\Plantuml\TokenReflection\PropertyWriter |
||
16 | */ |
||
17 | private $propertyWriter; |
||
18 | |||
19 | /** |
||
20 | * @var \Flagbit\Plantuml\TokenReflection\MethodWriter |
||
21 | */ |
||
22 | private $methodWriter; |
||
23 | |||
24 | /** |
||
25 | * @var \Flagbit\Plantuml\TokenReflection\DocContentWriter |
||
26 | */ |
||
27 | private $docContentWriter; |
||
28 | |||
29 | 14 | public function __construct() |
|
33 | |||
34 | /** |
||
35 | * @param \Flagbit\Plantuml\TokenReflection\ConstantWriter $constantWriter |
||
36 | */ |
||
37 | 10 | public function setConstantWriter($constantWriter) |
|
41 | |||
42 | /** |
||
43 | * @param \Flagbit\Plantuml\TokenReflection\MethodWriter $methodWriter |
||
44 | */ |
||
45 | 10 | public function setMethodWriter($methodWriter) |
|
49 | |||
50 | /** |
||
51 | * @param \Flagbit\Plantuml\TokenReflection\PropertyWriter $propertyWriter |
||
52 | */ |
||
53 | 10 | public function setPropertyWriter($propertyWriter) |
|
57 | |||
58 | /** |
||
59 | * @param \Flagbit\Plantuml\TokenReflection\DocContentWriter $docContentWriter |
||
60 | */ |
||
61 | 10 | public function setDocContentWriter($docContentWriter) |
|
65 | |||
66 | /** |
||
67 | * @param \TokenReflection\IReflectionClass $class |
||
68 | * |
||
69 | * @return string |
||
70 | */ |
||
71 | 14 | public function writeElement(IReflectionClass $class) |
|
136 | |||
137 | /** |
||
138 | * @param IReflectionClass $class |
||
139 | * |
||
140 | * @return string |
||
141 | */ |
||
142 | 14 | private function writeAbstract(IReflectionClass $class) |
|
150 | |||
151 | /** |
||
152 | * @param IReflectionClass $class |
||
153 | * |
||
154 | * @return string |
||
155 | */ |
||
156 | 14 | private function writeObjectType(IReflectionClass $class) |
|
164 | } |
||
165 |