/**
  * Adds a section to the Sections collection
  *
  * @param string $comment
  * @param \splFileObject $file
  */
 protected function addSection($comment, \splFileObject $file)
 {
     if (self::isKssBlock($comment)) {
         $section = new KSSSection($comment, $file);
         $this->sections[$section->getReference(true)] = $section;
         $this->sectionsSortedByReference = false;
     }
 }
 public function getReference()
 {
     $filter = URLSegmentFilter::create();
     return $filter->filter($this->section->getReference() . '-' . $this->getName());
 }