/**
  * Set name
  *
  * @param string $name
  */
 public function setName($name)
 {
     $this->name = $name;
     $this->setSlug(Tag::slugify($name));
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function setSlug($slug)
 {
     $this->slug = Tag::slugify($slug);
 }
Beispiel #3
0
 /**
  * {@inheritdoc}
  */
 public function setTitle($title)
 {
     $this->title = $title;
     $this->setSlug(Tag::slugify($title));
 }