1 | <?php |
||
16 | abstract class AbstractMethodBodyBuilder implements MethodBodyBuilderInterface |
||
17 | { |
||
18 | /** @var Instance */ |
||
19 | protected $instance; |
||
20 | |||
21 | public function __clone() |
||
25 | |||
26 | /** |
||
27 | * @param Instance $instance |
||
28 | * @return $this |
||
29 | */ |
||
30 | public function setInstance(Instance $instance) |
||
36 | |||
37 | /** |
||
38 | * @param DocumentationGenerator $documentation |
||
39 | * @return DocumentationGenerator |
||
40 | */ |
||
41 | public function extend(DocumentationGenerator $documentation) |
||
45 | |||
46 | /** |
||
47 | * @param array $propertyNames |
||
48 | * @throws RuntimeException |
||
49 | */ |
||
50 | protected function assertMandatoryProperties(array $propertyNames = array('instance')) |
||
61 | } |