123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <?php
- /**
- * WPSEO plugin file.
- *
- * @package WPSEO\Admin\ConfigurationUI
- */
- /**
- * Class WPSEO_Config_Component_Connect_Google_Search_Console.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- */
- class WPSEO_Config_Component_Connect_Google_Search_Console implements WPSEO_Config_Component {
- /**
- * Option identifier where the GSC token is stored.
- *
- * @var string
- */
- const OPTION_ACCESS_TOKEN = 'wpseo-gsc-access_token';
- /**
- * Option identifier where the GSC refresh token is stored.
- *
- * @var string
- */
- const OPTION_REFRESH_TOKEN = 'wpseo-gsc-refresh_token';
- /**
- * Service to use.
- *
- * @var WPSEO_GSC_Service
- */
- protected $gsc_service;
- /**
- * WPSEO_Config_Component_Connect_Google_Search_Console constructor.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- */
- public function __construct() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Set the Google Search Console service.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @param mixed $service Set service to use.
- */
- public function set_gsc_service( $service ) {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Gets the component identifier.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return string
- */
- public function get_identifier() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- return 'ConnectGoogleSearchConsole';
- }
- /**
- * Gets the field.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return null
- */
- public function get_field() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- return null;
- }
- /**
- * Get the data for the field.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return mixed
- */
- public function get_data() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- return array();
- }
- /**
- * Save data.
- *
- * @param array $data Data containing changes.
- *
- * @return mixed
- */
- public function set_data( $data ) {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- return array();
- }
- }
|