setFolder() public method

public setFolder ( string $folder )
$folder string
Ejemplo n.º 1
0
 public function create() : ThemeInterface
 {
     $theme = new Theme();
     $theme->setName('');
     $theme->setFolder('');
     return $theme;
 }
Ejemplo n.º 2
0
 /**
  * {@inheritDoc}
  */
 public function load(ObjectManager $manager)
 {
     $theme = new Theme();
     $theme->setName('WellCommerce Default Theme');
     $theme->setFolder('wellcommerce');
     $manager->persist($theme);
     $manager->flush();
     $this->setReference('theme', $theme);
 }
Ejemplo n.º 3
0
 /**
  * {@inheritDoc}
  */
 public function load(ObjectManager $manager)
 {
     if (!$this->isEnabled()) {
         return;
     }
     $theme = new Theme();
     $theme->setName('WellCommerce Default Theme');
     $theme->setFolder('wellcommerce-default-theme');
     $manager->persist($theme);
     $manager->flush();
     $this->setReference('theme', $theme);
 }