1 | <?php |
||
13 | class GenericFactory extends AbstractFactory |
||
14 | { |
||
15 | /** |
||
16 | * @param string $type The "type" of object to resolve (the object ident). |
||
17 | * @throws InvalidArgumentException If the type parameter is not a string. |
||
18 | * @return string |
||
19 | */ |
||
20 | public function resolve($type) |
||
29 | |||
30 | /** |
||
31 | * @param string $type The "type" of object to resolve (the object ident). |
||
32 | * @throws InvalidArgumentException If the type parameter is not a string. |
||
33 | * @return boolean |
||
34 | */ |
||
35 | public function isResolvable($type) |
||
44 | } |
||
45 |