예제 #1
0
 /**
  * Returns the segment for skills for the given sport
  * @param Sport $sport
  * @return string
  */
 public function getSkillsSegment(Sport $sport)
 {
     // TODO: Get slug in default locale
     $slugifier = new Slugify();
     return $slugifier->slugify($sport->getSkillPluralLabel());
 }