1 | <?php |
||
23 | class Shop |
||
24 | { |
||
25 | private $container; |
||
26 | |||
27 | |||
28 | /** |
||
29 | * Initializes the object |
||
30 | * |
||
31 | * @param ContainerInterface $container Dependency container |
||
32 | */ |
||
33 | public function __construct( ContainerInterface $container ) |
||
37 | |||
38 | |||
39 | /** |
||
40 | * Returns the body and header sections created by the clients configured for the given page name. |
||
41 | * |
||
42 | * @param string $pageName Name of the configured page |
||
43 | * @param ServerRequestInterface $request Request object |
||
44 | * @param ResponseInterface $response Response object |
||
45 | * @param array Associative list of URI attributes |
||
46 | * @return array Associative list with body and header output separated by client name |
||
47 | */ |
||
48 | public function get( $pageName, ServerRequestInterface $request, ResponseInterface $response, array $attr ) |
||
75 | } |
||
76 |