1 | <?php |
||
12 | abstract class AbstractFactory implements ProjectFactoryStrategy |
||
13 | { |
||
14 | abstract public function matches($object); |
||
15 | |||
16 | 42 | public final function create($object, StrategyContainer $strategies, Context $context = null) |
|
29 | |||
30 | abstract protected function doCreate($object, StrategyContainer $strategies, Context $context = null); |
||
31 | |||
32 | /** |
||
33 | * @param Node|PropertyIterator|ClassConstantIterator $stmt |
||
34 | * @param StrategyContainer $strategies |
||
35 | * @param Context $context |
||
36 | * @return Element |
||
37 | */ |
||
38 | 14 | protected function createMember($stmt, StrategyContainer $strategies, Context $context = null) |
|
43 | |||
44 | /** |
||
45 | * @param Doc $docBlock |
||
46 | * @param StrategyContainer $strategies |
||
47 | * @param Context $context |
||
48 | * @return null|\phpDocumentor\Reflection\DocBlock |
||
49 | */ |
||
50 | 28 | protected function createDocBlock(Doc $docBlock = null, StrategyContainer $strategies, Context $context = null) |
|
58 | } |
||
59 |