예제 #1
0
 /**
  * Set title
  *
  * @param string $title
  */
 public function setTitle($title)
 {
     $this->title = $title;
     $this->setSlug(Tag::slugify($title));
 }
예제 #2
0
 /**
  * Set slug
  *
  * @param integer $slug
  */
 public function setSlug($slug)
 {
     $this->slug = Tag::slugify($slug);
 }