original_string: public static function get_enrolment_plugins() {
          $cache = cache::make('tool_uploadcourse', 'helper');
          if (($enrol = $cache->get('enrol')) === false) {
              $enrol = enrol_get_plugins(false);
              $cache->set('enrol', $enrol);
          }
          return $enrol;
      }
code: public static function get_enrolment_plugins() {
          $cache = cache::make('tool_uploadcourse', 'helper');
          if (($enrol = $cache->get('enrol')) === false) {
              $enrol = enrol_get_plugins(false);
              $cache->set('enrol', $enrol);
          }
          return $enrol;
      }
code_tokens: public static function get_enrolment_plugins ( ) { $ cache = cache :: make ( 'tool_uploadcourse' , 'helper' ) ; if ( ( $ enrol = $ cache -> get ( 'enrol' ) ) === false ) { $ enrol = enrol_get_plugins ( false ) ; $ cache -> set ( 'enrol' , $ enrol ) ; } return $ enrol ; }
docstring: Return the enrolment plugins.
  
  The result is cached for faster execution.
  
  @return array
docstring_tokens: Return the enrolment plugins .