Skip to content

Commit

Permalink
make $baseStore public
Browse files Browse the repository at this point in the history
in order to allow result format to access the SQLStore since SPARQLStore is not a subclass of SQLStore (different from ElasticStore).

See: SemanticMediaWiki#5748 
SemanticMediaWiki/SemanticResultFormats#827
  • Loading branch information
simontaurus authored Nov 12, 2024
1 parent 5c83d0c commit 96d0bff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/SPARQLStore/SPARQLStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,14 @@ class SPARQLStore extends Store {

/**
* Underlying store to use for basic read operations.
* Public in order to allow result format to access
* the SQLStore since SPARQLStore is not a subclass of
* SQLStore (different from ElasticStore).
*
* @since 1.8
* @var Store
*/
private $baseStore;
public $baseStore;

/**
* @since 1.8
Expand Down

0 comments on commit 96d0bff

Please sign in to comment.