HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/wordpress-seo/src/deprecated/admin/endpoints/class-endpoint-ryte.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin\OnPage
 */

/**
 * Represents an implementation of the WPSEO_Endpoint interface to register one or multiple endpoints.
 *
 * @deprecated 13.2
 * @codeCoverageIgnore
 */
class WPSEO_Endpoint_Ryte implements WPSEO_Endpoint {

	/**
	 * The namespace of the REST route.
	 *
	 * @var string
	 */
	const REST_NAMESPACE = 'yoast/v1';

	/**
	 * The route of the ryte endpoint.
	 *
	 * @var string
	 */
	const ENDPOINT_RETRIEVE = 'ryte';

	/**
	 * The name of the capability needed to retrieve data using the endpoints.
	 *
	 * @var string
	 */
	const CAPABILITY_RETRIEVE = 'manage_options';

	/**
	 * Constructs the WPSEO_Endpoint_Ryte class and sets the service to use.
	 *
	 * @deprecated 13.2
	 * @codeCoverageIgnore
	 */
	public function __construct() {
		_deprecated_function( __METHOD__, 'WPSEO 13.2' );
	}

	/**
	 * Registers the REST routes that are available on the endpoint.
	 *
	 * @deprecated 13.2
	 * @codeCoverageIgnore
	 */
	public function register() {
		_deprecated_function( __METHOD__, 'WPSEO 13.2' );
	}

	/**
	 * Determines whether or not data can be retrieved for the registered endpoints.
	 *
	 * @deprecated 13.2
	 * @codeCoverageIgnore
	 */
	public function can_retrieve_data() {
		_deprecated_function( __METHOD__, 'WPSEO 13.2' );
	}
}