1 | <?php |
||
11 | abstract class AbstractFactory |
||
12 | { |
||
13 | abstract public function matches($object); |
||
14 | |||
15 | public function create($object, StrategyContainer $strategies, Context $context = null) |
||
26 | |||
27 | abstract protected function doCreate($object, StrategyContainer $strategies, Context $context = null); |
||
28 | |||
29 | /** |
||
30 | * @param Node|PropertyIterator|ClassConstantIterator $stmt |
||
31 | * @param StrategyContainer $strategies |
||
32 | * @param Context $context |
||
33 | * @return Element |
||
34 | */ |
||
35 | protected function createMember($stmt, StrategyContainer $strategies, Context $context = null) |
||
40 | |||
41 | /** |
||
42 | * @param Doc $docBlock |
||
43 | * @param StrategyContainer $strategies |
||
44 | * @param Context $context |
||
45 | * @return null|\phpDocumentor\Reflection\DocBlock |
||
46 | */ |
||
47 | protected function createDocBlock(Doc $docBlock = null, StrategyContainer $strategies, Context $context = null) |
||
55 | } |
||
56 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.