original_string: public function findModule($id)
      {
          if (($controller = $this->getController()) !== null && ($module = $controller->getModule()) !== null) {
              do {
                  if (($m = $module->getModule($id)) !== null) {
                      return $m;
                  }
              } while (($module = $module->getParentModule()) !== null);
          }
          if (($m = $this->getModule($id)) !== null) {
              return $m;
          }
      }
code: public function findModule($id)
      {
          if (($controller = $this->getController()) !== null && ($module = $controller->getModule()) !== null) {
              do {
                  if (($m = $module->getModule($id)) !== null) {
                      return $m;
                  }
              } while (($module = $module->getParentModule()) !== null);
          }
          if (($m = $this->getModule($id)) !== null) {
              return $m;
          }
      }
code_tokens: public function findModule ( $ id ) { if ( ( $ controller = $ this -> getController ( ) ) !== null && ( $ module = $ controller -> getModule ( ) ) !== null ) { do { if ( ( $ m = $ module -> getModule ( $ id ) ) !== null ) { return $ m ; } } while ( ( $ module = $ module -> getParentModule ( ) ) !== null ) ; } if ( ( $ m = $ this -> getModule ( $ id ) ) !== null ) { return $ m ; } }
docstring: Do not call this method. This method is used internally to search for a module by its ID.
  @param string $id module ID
  @return \Mindy\Base\Module the module that has the specified ID. Null if no module is found.
docstring_tokens: Do not call this method . This method is used internally to search for a module by its ID .