id = $id; $this->name = 'Mein Webshop'; $this->domain = $_SERVER['HTTP_HOST'] ?? 'localhost'; $this->domain_ssl = $_SERVER['HTTP_HOST'] ?? 'localhost'; $this->physical_uri = '/'; $this->theme = 'classic'; } public static function initialize() { // TODO: Mandantenfähigkeit später return new Shop(1); } public function getBaseURI() { return $this->physical_uri; } public function getGroup() { // Dummy-Objekt für Gruppenfunktionen return (object)[ 'id' => 1, 'share_order' => false ]; } public function getUrlsSharedCart() { // Dummy für getUrlsSharedCart return [$this->domain]; } }