1 | <?php |
||
19 | class Factory extends \Aimeos\Controller\Frontend |
||
20 | { |
||
21 | /** |
||
22 | * Creates the required controller specified by the given path of controller names. |
||
23 | * |
||
24 | * @param \Aimeos\MShop\Context\Item\Iface $context Context object required by managers |
||
25 | * @param string $path Name of the domain (and sub-managers) separated by slashes, e.g "basket" |
||
26 | * @return \Aimeos\Controller\Frontend\Iface New frontend controller |
||
27 | * @throws \Aimeos\Controller\Frontend\Exception If the given path is invalid or the manager wasn't found |
||
28 | */ |
||
29 | static public function createController( \Aimeos\MShop\Context\Item\Iface $context, $path ) |
||
33 | |||
34 | |||
35 | /** |
||
36 | * Enables or disables caching of class instances. |
||
37 | * |
||
38 | * @param boolean $value True to enable caching, false to disable it. |
||
39 | * @return boolean Previous cache setting |
||
40 | */ |
||
41 | static public function setCache( $value ) |
||
45 | } |
||
46 |