<section id="interacts-with-front-matter-methods">

<!-- Start generated docs for Hyde\Framework\Concerns\InteractsWithFrontMatter -->
<!-- Generated by HydePHP DocGen script at 2023-03-10 18:25:46 in 0.06ms -->

#### `data()`

Get a value from the computed page data, or fallback to the page&#039;s front matter, then to the default value.

```php
$page->data(string $key, mixed $default): \Hyde\Markdown\Models\FrontMatter|mixed
```

#### `matter()`

Get the front matter object, or a value from within.

```php
$page->matter(string $key, mixed $default): \Hyde\Markdown\Models\FrontMatter|mixed
```

#### `has()`

See if a value exists in the computed page data or the front matter.

```php
$page->has(string $key): bool
```

<!-- End generated docs for Hyde\Framework\Concerns\InteractsWithFrontMatter -->

</section>
