setName() public méthode

public setName ( string $name )
$name string
 public function create() : ThemeInterface
 {
     $theme = new Theme();
     $theme->setName('');
     $theme->setFolder('');
     return $theme;
 }
 /**
  * {@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);
 }
 /**
  * {@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);
 }