# core-framework/trunk/wp/Common/Abstracts/Base.php

Core Framework, version trunk. 41 lines.

- Page: https://pluginprobe.com/plugins/core-framework/trunk/code/wp/Common/Abstracts/Base.php
- Raw: https://pluginprobe.com/plugins/core-framework/trunk/raw/wp/Common/Abstracts/Base.php
- Modified: 2026-08-13T14:44:48+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/core-framework/trunk/code/wp/Common/Abstracts/Base.php#L10-L20`.

```php
<?php
/**
 * CoreFramework
 *
 * @package   CoreFramework
 * @author    Core Framework <hello@coreframework.com>
 * @copyright 2023 Core Framework
 * @license   MIT
 * @link      https://coreframework.com
 */

declare (strict_types = 1);

namespace CoreFramework\Common\Abstracts;

use CoreFramework\Config\Plugin;

/**
 * The Base class which can be extended by other classes to load in default methods
 *
 * @package CoreFramework\Common\Abstracts
 * @since 0.0.0
 */
abstract class Base {

	/**
	 * @var object : will be filled with data from the plugin config class
	 * @see Plugin
	 */
	protected Plugin $plugin;

	/**
	 * Base constructor.
	 *
	 * @since 0.0.0
	 */
	public function __construct() {
		$this->plugin = Plugin::init();
	}
}

```
