original_string: public function loadByNumericId(int $id, bool $readonly = false, array $options = [])
      {
          $annotation = $this->dataService->getAnnotation();
          $base = $this->getBaseUri($annotation, $readonly);
  
          $uri = new Uri($base.'/'.$id);
  
          return $this->load($uri, $options);
      }
code: public function loadByNumericId(int $id, bool $readonly = false, array $options = [])
      {
          $annotation = $this->dataService->getAnnotation();
          $base = $this->getBaseUri($annotation, $readonly);
  
          $uri = new Uri($base.'/'.$id);
  
          return $this->load($uri, $options);
      }
code_tokens: public function loadByNumericId ( int $ id , bool $ readonly = false , array $ options = [ ] ) { $ annotation = $ this -> dataService -> getAnnotation ( ) ; $ base = $ this -> getBaseUri ( $ annotation , $ readonly ) ; $ uri = new Uri ( $ base . '/' . $ id ) ; return $ this -> load ( $ uri , $ options ) ; }
docstring: Load a data object from MPX, returning a promise to it.
  
  @param int   $id       The numeric ID to load.
  @param bool  $readonly (optional) Load from the read-only service.
  @param array $options  (optional) An array of HTTP client options.
  
  @return PromiseInterface
docstring_tokens: Load a data object from MPX returning a promise to it .