Searched refs:readStore (Results 1 – 5 of 5) sorted by relevance
41 * @param MetadataStore|string $readStore45 public static function toMetadataStore($readStore, $resource): MetadataStore argument 47 if ($readStore instanceof MetadataStore) {48 return $readStore;50 if (!is_string($readStore)) {53 if (!is_subclass_of($readStore, MetadataStore::class)) {54 throw new ExceptionRuntime("The value ($readStore) is not a subclass of a store.");59 return $readStore::getOrCreateFromResource($resource);
99 private $readStore; variable in ComboStrap\\Meta\\Api\\Metadata 220 if (isset($this->readStore)) {226 $this->readStore = $store;278 if (!isset($this->readStore)) {281 if (!$this->readStore instanceof MetadataStore) {282 $this->readStore = MetadataStoreAbs::toMetadataStore($this->readStore, $this->getResource());284 return $this->readStore;
241 $readStore = $this->getReadStore();245 if (!($readStore instanceof MetadataDokuWikiStore)) {252 ->setReadStore($readStore)
119 $readStore = $this->getReadStore();120 if (!($readStore instanceof MetadataDokuWikiStore)) {143 if (!($readStore instanceof MetadataDbStore)) {
178 private $readStore; variable in ComboStrap\\MarkupPath 357 $this->readStore = null;1779 $this->readStore = $store;1939 if ($this->readStore === null) {1947 if (!($this->readStore instanceof MetadataStore)) {1948 $this->readStore = MetadataStoreAbs::toMetadataStore($this->readStore, $this);1950 return $this->readStore;