Yoast\WP\SEO\MyYoast_Client\Application\Ports
User_Token_Storage_Interface::store
Stores a token set for a user. The resource bucket is derived from the token's own resource indicator.
Метод класса: User_Token_Storage_Interface{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$User_Token_Storage_Interface = new User_Token_Storage_Interface(); $User_Token_Storage_Interface->store( $user_id, $token_set ): void;
- $user_id(int) (обязательный)
- The user ID.
- $token_set(Token_Set) (обязательный)
- The token set to store.
Код User_Token_Storage_Interface::store() User Token Storage Interface::store Yoast 28.3
public function store( int $user_id, Token_Set $token_set ): void;