1 | <?php |
||
27 | class DomainModelLocator extends ObjectRegistry |
||
28 | { |
||
29 | /** |
||
30 | * Should resolve the class name for a given object type. |
||
31 | * |
||
32 | * @param string $class The class to resolve. |
||
33 | * @return string|bool The resolved name or false for failure. |
||
34 | */ |
||
35 | 2 | protected function _resolveClassName($class) |
|
39 | |||
40 | /** |
||
41 | * Throw an exception when the requested object name is missing. |
||
42 | * |
||
43 | * @param string $class The class that is missing. |
||
44 | * @param string $plugin The plugin $class is missing from. |
||
45 | * @return void |
||
46 | * @throws \Exception |
||
47 | */ |
||
48 | 1 | protected function _throwMissingClassError($class, $plugin) |
|
65 | |||
66 | /** |
||
67 | * Create an instance of a given classname. |
||
68 | * |
||
69 | * The passed config array will be used as constructor args for the new |
||
70 | * object. |
||
71 | * |
||
72 | * @param string $class The class to build. |
||
73 | * @param string $alias The alias of the object. |
||
74 | * @param array $config The Configuration settings for construction |
||
75 | * @return mixed |
||
76 | */ |
||
77 | 1 | protected function _create($class, $alias, $config) |
|
85 | } |
||
86 |