Пример #1
0
 private function getDummyTemplates()
 {
     $master = new \Shopware\Models\Shop\Template();
     $master->setName('TestBare');
     $master->setTemplate('TestBare');
     $master->setVersion(3);
     $slave = new \Shopware\Models\Shop\Template();
     $slave->setName('TestResponsive');
     $slave->setTemplate('TestResponsive');
     $slave->setParent($master);
     $slave->setVersion(3);
     return $slave;
 }