original_string: private function enrollments()
      {
          return $this->validateCollection(
              Enrollment::activeOn(
                  AcademicPeriod::findOrFail($this->period)->shortname)
              )->orderBy(
                  'enrollment_study_id',
                  'enrollment_course_id',
                  'enrollment_group_id')->get();
      }
code: private function enrollments()
      {
          return $this->validateCollection(
              Enrollment::activeOn(
                  AcademicPeriod::findOrFail($this->period)->shortname)
              )->orderBy(
                  'enrollment_study_id',
                  'enrollment_course_id',
                  'enrollment_group_id')->get();
      }
code_tokens: private function enrollments ( ) { return $ this -> validateCollection ( Enrollment :: activeOn ( AcademicPeriod :: findOrFail ( $ this -> period ) -> shortname ) ) -> orderBy ( 'enrollment_study_id' , 'enrollment_course_id' , 'enrollment_group_id' ) -> get ( ) ; }
docstring: Obtain all ebre_escool_enrollments
docstring_tokens: Obtain all ebre_escool_enrollments