original_string: public function createEntity(string $entity_id, array $parents)
      {
          $entity = new Entity($this, $entity_id, $parents);
          return $entity;
      }
code: public function createEntity(string $entity_id, array $parents)
      {
          $entity = new Entity($this, $entity_id, $parents);
          return $entity;
      }
code_tokens: public function createEntity ( string $ entity_id , array $ parents ) { $ entity = new Entity ( $ this , $ entity_id , $ parents ) ; return $ entity ; }
docstring: Create a new entity and store it.
  @param string $entity_id The ID of the entity
  @param array $parents The parents of the entity
  @throws Exception When the entity_id has already been created for this class
docstring_tokens: Create a new entity and store it .