Home
last modified time | relevance | path

Searched refs:readStore (Results 1 – 4 of 4) sorted by relevance

/plugin/combo/ComboStrap/
H A DMetadataStoreAbs.php32 * @param MetadataStore|string $readStore
36 public static function toMetadataStore($readStore, $resource): MetadataStore argument
38 if ($readStore instanceof MetadataStore) {
39 return $readStore;
41 if (!is_string($readStore)) {
44 if (!is_subclass_of($readStore, MetadataStore::class)) {
45 throw new ExceptionComboRuntime("The value ($readStore) is not a subclass of a store.");
50 return $readStore::getOrCreateFromResource($resource);
H A DMetadata.php39 private $readStore; variable in ComboStrap\\Metadata
219 if ($this->readStore !== null) {
225 $this->readStore = $store;
274 if ($this->readStore === null) {
277 if (!$this->readStore instanceof MetadataStore) {
278 … $this->readStore = MetadataStoreAbs::toMetadataStore($this->readStore, $this->getResource());
280 return $this->readStore;
H A DPageId.php86 $readStore = $this->getReadStore();
87 if (!($readStore instanceof MetadataDokuWikiStore)) {
110 if (!($readStore instanceof MetadataDbStore)) {
H A DPage.php190 private $readStore; variable in ComboStrap\\Page
397 $this->readStore = null;
1751 $this->readStore = $store;
1907 if ($this->readStore === null) {
1915 if (!($this->readStore instanceof MetadataStore)) {
1916 $this->readStore = MetadataStoreAbs::toMetadataStore($this->readStore, $this);
1918 return $this->readStore;