# cookiez/0.0.3/modules/reviews/classes/route-base.php

Cookie Consent – GDPR &amp; CCPA Cookie Banner &amp; Consent Manager, version 0.0.3. 34 lines.

- Page: https://pluginprobe.com/plugins/cookiez/0.0.3/code/modules/reviews/classes/route-base.php
- Raw: https://pluginprobe.com/plugins/cookiez/0.0.3/raw/modules/reviews/classes/route-base.php
- Modified: 2026-05-18T12:03:54+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/cookiez/0.0.3/code/modules/reviews/classes/route-base.php#L10-L20`.

```php
<?php

namespace Cookiez\Modules\Reviews\Classes;

use Cookiez\Classes\Rest\Route;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * Class Route_Base
 */
class Route_Base extends Route {
	protected bool $override = false;
	protected $auth = true;
	protected string $path = '';
	public function get_methods(): array {
		return [];
	}

	public function get_endpoint(): string {
		return 'reviews/' . $this->get_path();
	}

	public function get_path(): string {
		return $this->path;
	}

	public function get_name(): string {
		return '';
	}
}

```
