Yoast\WP\SEO\MyYoast_Client\Application
MyYoast_Client_Cleanup::__construct
MyYoast_Client_Cleanup constructor.
Метод класса: MyYoast_Client_Cleanup{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$MyYoast_Client_Cleanup = new MyYoast_Client_Cleanup(); $MyYoast_Client_Cleanup->__construct( $client_registration, $token_storage, $user_token_storage );
- $client_registration(Client_Registration_Interface) (обязательный)
- The client registration port.
- $token_storage(Token_Storage_Interface) (обязательный)
- The site-level token storage port.
- $user_token_storage(User_Token_Storage_Interface) (обязательный)
- The user-level token storage port.
Код MyYoast_Client_Cleanup::__construct() MyYoast Client Cleanup:: construct Yoast 27.7
public function __construct(
Client_Registration_Interface $client_registration,
Token_Storage_Interface $token_storage,
User_Token_Storage_Interface $user_token_storage
) {
$this->client_registration = $client_registration;
$this->token_storage = $token_storage;
$this->user_token_storage = $user_token_storage;
$this->logger = new NullLogger();
}