<?php require_once 'Autoloader.php'; /* create a product controller and configure it as following: * - Lawnmower * - Robot */ $controller = new ProductController("key.title.robot", ProductType::CLASS_LAWNMOVER, ProductType::TYPE_ROBOT); // let the controller handle the request $controller->handleRequest(); // render the page and print it echo $controller->displayPage();