Esempio n. 1
0
 /**
  * @param string $slug
  * @param string $group
  *
  * @return TagInterface
  */
 public function findBySlugAndGroup($slug, $group = null)
 {
     return $this->model->whereSiteIs($this->site)->where(Model::ATTR_SLUG, '=', $slug)->where(Model::ATTR_GROUP, '=', $group)->first();
 }