Yoast\WP\SEO\MyYoast_Client\Application
OAuth_Callback_Handler::__construct
OAuth_Callback_Handler constructor.
Метод класса: OAuth_Callback_Handler{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$OAuth_Callback_Handler = new OAuth_Callback_Handler(); $OAuth_Callback_Handler->__construct( $myyoast_client, $auth_code_handler, $expiring_store );
- $myyoast_client(MyYoast_Client) (обязательный)
- The MyYoast client facade.
- $auth_code_handler(Authorization_Code_Handler) (обязательный)
- The authorization code handler.
- $expiring_store(Expiring_Store) (обязательный)
- The expiring store.
Код OAuth_Callback_Handler::__construct() OAuth Callback Handler:: construct Yoast 28.9
public function __construct(
MyYoast_Client $myyoast_client,
Authorization_Code_Handler $auth_code_handler,
Expiring_Store $expiring_store
) {
$this->myyoast_client = $myyoast_client;
$this->auth_code_handler = $auth_code_handler;
$this->expiring_store = $expiring_store;
$this->logger = new NullLogger();
}