original_string: public function getPropertyById($id)
      {
          return isset($this->propertiesById[$id]) ? $this->propertiesById[$id] : null;
      }
code: public function getPropertyById($id)
      {
          return isset($this->propertiesById[$id]) ? $this->propertiesById[$id] : null;
      }
code_tokens: public function getPropertyById ( $ id ) { return isset ( $ this -> propertiesById [ $ id ] ) ? $ this -> propertiesById [ $ id ] : null ; }
docstring: Returns a property by ID.
  
  Because repositories are not obligated to add property IDs to their query result properties,
  this method might not always work as expected with some repositories. Use getPropertyByQueryName(String) instead.
  
  @param string $id
  @return PropertyDataInterface|null the property or <code>null</code> if the property doesn't
  exist or hasn't been requested
docstring_tokens: Returns a property by ID .