HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/hcv/wp-content/plugins/wordpress-seo-premium/src/main.php
<?php

namespace Yoast\WP\SEO\Premium;

use Yoast\WP\Lib\Abstract_Main;
use Yoast\WP\SEO\Dependency_Injection\Container_Compiler;
use Yoast\WP\SEO\Premium\Generated\Cached_Container;
use Yoast\WP\SEO\Premium\Surfaces\Helpers_Surface;
use Yoast\WP\SEO\Surfaces\Classes_Surface;

/**
 * Main plugin class for premium.
 *
 * @property Classes_Surface $classes
 * @property Helpers_Surface $helpers
 */
class Main extends Abstract_Main {

	// @phpcs:disable Generic.Commenting.DocComment.MissingShort -- Short description is in the inherited comments.

	/**
	 * @inheritDoc
	 */
	protected function get_name() {
		return 'yoast-seo-premium';
	}

	/**
	 * @inheritDoc
	 */
	protected function get_container() {
		if (
			$this->is_development()
			&& \class_exists( '\Yoast\WP\SEO\Dependency_Injection\Container_Compiler' )
			&& \file_exists( __DIR__ . '/../config/dependency-injection/services.php' )
		) {
			// Exception here is unhandled as it will only occur in development.
			Container_Compiler::compile(
				$this->is_development(),
				__DIR__ . '/generated/container.php',
				__DIR__ . '/../config/dependency-injection/services.php',
				__DIR__ . '/../vendor/composer/autoload_classmap.php',
				'Yoast\WP\SEO\Premium\Generated'
			);
		}

		if ( \file_exists( __DIR__ . '/generated/container.php' ) ) {
			require_once __DIR__ . '/generated/container.php';

			return new Cached_Container();
		}

		return null;
	}

	/**
	 * @inheritDoc
	 */
	protected function get_surfaces() {
		return [
			'classes' => Classes_Surface::class,
			'helpers' => Helpers_Surface::class,
		];
	}
}