# wp-parsely/3.14.1/src/Metadata/class-paginated-front-page-builder.php

Parse.ly, version 3.14.1. 29 lines.

- Page: https://pluginprobe.com/plugins/wp-parsely/3.14.1/code/src/Metadata/class-paginated-front-page-builder.php
- Raw: https://pluginprobe.com/plugins/wp-parsely/3.14.1/raw/src/Metadata/class-paginated-front-page-builder.php
- Modified: 2022-07-05T14:41:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-parsely/3.14.1/code/src/Metadata/class-paginated-front-page-builder.php#L10-L20`.

```php
<?php
/**
 * Paginated Front Page Metadata Builder class
 *
 * @package Parsely
 * @since 3.4.0
 */

declare(strict_types=1);

namespace Parsely\Metadata;

/**
 * Implements abstract Metadata Builder class to generate the metadata array
 * for a paginated front page.
 *
 * @since 3.4.0
 */
class Paginated_Front_Page_Builder extends Front_Page_Builder {
	/**
	 * Populates the `url` field in the metadata object by getting the current page's URL.
	 *
	 * @since 3.4.0
	 */
	protected function build_url(): void {
		$this->metadata['url'] = $this->get_current_url();
	}
}

```
