# wp-parsely/3.23.7/src/Integrations/class-integration.php

Parse.ly, version 3.23.7. 46 lines.

- Page: https://pluginprobe.com/plugins/wp-parsely/3.23.7/code/src/Integrations/class-integration.php
- Raw: https://pluginprobe.com/plugins/wp-parsely/3.23.7/raw/src/Integrations/class-integration.php
- Modified: 2022-09-28T09:17:58+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.23.7/code/src/Integrations/class-integration.php#L10-L20`.

```php
<?php
/**
 * Integrations: Abstract base class for all integration implementations
 *
 * @package Parsely
 * @since   2.6.0
 */

declare(strict_types=1);

namespace Parsely\Integrations;

use Parsely\Parsely;

/**
 * Base class that all integrations should extend from.
 *
 * @since 2.6.0
 * @since 3.5.2 Converted from interface to abstract class.
 */
abstract class Integration {
	/**
	 * Instance of Parsely class.
	 *
	 * @var Parsely
	 */
	protected static $parsely;

	/**
	 * Constructor.
	 *
	 * @param Parsely $parsely Instance of Parsely class.
	 */
	public function __construct( Parsely $parsely ) {
		self::$parsely = $parsely;
	}

	/**
	 * Applies the hooks that integrate the plugin or theme with the Parse.ly
	 * plugin.
	 *
	 * @since 2.6.0
	 */
	abstract public function integrate(): void;
}

```
