Esempio n. 1
0
 /**
  * Set shop instance
  *
  * @param   \Shopware\Models\Shop\Shop $shop
  * @return  Shopware_Components_Snippet_Manager
  */
 public function setShop(\Shopware\Models\Shop\Shop $shop)
 {
     $this->shop = $shop;
     $this->locale = $shop->getLocale();
     $this->namespaces = array();
     $this->initExtends();
     return $this;
 }