code: public function run()
      {
          $list = $this->getClassList();
  
          $directCollection = new DirectCollection();
  
          foreach ($list as $class) {
              $cl = $this->processClass($class);
              if ($cl !== false) {
                  $directCollection->add($cl);
              }
          }
          return $directCollection;
      }
docs: Parses application directory for remotable methods
  
  @return DirectCollection