Lines Matching defs:MetadataFrontmatterStore
19 * MetadataFrontmatterStore
22 class MetadataFrontmatterStore extends MetadataSingleArrayStore
178 * MetadataFrontmatterStore constructor.
190 * @deprecated used {@link MetadataFrontmatterStore::loadAsString()} instead
217 return new MetadataFrontmatterStore($resourceCombo, null);
220 public static function createFromArray(ResourceCombo $page, array $jsonArray): MetadataFrontmatterStore
222 return new MetadataFrontmatterStore($page, $jsonArray);
228 public static function createFromFrontmatterString($page, $frontmatter = null): MetadataFrontmatterStore
231 return new MetadataFrontmatterStore($page, []);
237 $frontmatter = new MetadataFrontmatterStore($page, $jsonArray);
246 public static function createFromPage(MarkupPath $page): MetadataFrontmatterStore
276 return MetadataFrontmatterStore::createFromFrontmatterString($page, $frontMatterMatch)
281 return (new MetadataFrontmatterStore($page))
444 private function setIsPresent(bool $bool): MetadataFrontmatterStore
464 private function setContentWithoutFrontMatter(string $contentWithoutFrontMatter): MetadataFrontmatterStore