1 | <?php |
||
20 | class Ezpublish extends \Aimeos\MShop\Context\Item\Standard |
||
21 | { |
||
22 | private $ezUser; |
||
23 | |||
24 | |||
25 | /** |
||
26 | * Sets the user creating function |
||
27 | * |
||
28 | * @param \Closure $userfcn Function to create a new user and return its ID |
||
29 | * @return \Aimeos\MShop\Context\Item\Iface Context item for chaining method calls |
||
30 | */ |
||
31 | public function setEzUser( \Closure $userfcn ) |
||
36 | |||
37 | |||
38 | /** |
||
39 | * Returns the user creating function |
||
40 | * |
||
41 | * @return \Closure Function to create a new user and return its ID |
||
42 | */ |
||
43 | public function getEzUser() |
||
51 | } |
||
52 |